CWindow::SetWindowLongPtr

Modificare un attributo della finestra specificata e imposta un valore di offset specificato in memoria aggiuntiva della finestra.

LONG_PTR SetWindowLongPtr(
   int nIndex,
   LONG_PTR dwNewLong 
) throw( );

Note

Vedere SetWindowLongPtr in Windows SDK.

Questa funzione sostituisce il metodo CWindow::SetWindowLong.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::GetWindowLongPtr

CWindow::SetWindowLong