Condividi tramite


CWindow::SetWindowLong

Sets a 32-bit value at a specified offset into the extra window memory.

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

Remarks

See SetWindowLong in the Windows SDK.

Note

To write code that is compatible with both 32-bit and 64-bit versions of Windows, use CWindow::SetWindowLongPtr.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::GetWindowLong

CWindow::SetWindowWord