Condividi tramite


CWindow::SetWindowLong

Imposta un valore a 32 bit a un offset specificato in memoria aggiuntiva della finestra.

LONG SetWindowLong(
   int nIndex,
   LONG dwNewLong 
) throw();

Note

Vedere SetWindowLong in Windows SDK.

[!NOTA]

Per scrivere il codice compatibile con sia a 32 bit che le versioni a 64 bit di Windows, utilizzare CWindow::SetWindowLongPtr.

Requisiti

Header: atlwin.h

Vedere anche

Riferimenti

Classe di CWindow

CWindow::GetWindowLong

CWindow::SetWindowWord