Freigeben über


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.

Hinweis

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

Concepts

CWindow Class

CWindow Members

CWindow::GetWindowLong

CWindow::SetWindowWord