CWindow::GetWindowLong

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

LONG GetWindowLong(
   int nIndex 
) const throw();

Remarks

See GetWindowLong in the Windows SDK.

备注

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

Requirements

Header: atlwin.h

See Also

Concepts

CWindow Class

CWindow Members

CWindow::SetWindowLong

CWindow::GetWindowWord