Share via


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.

Note

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

Reference

CWindow Class

CWindow::SetWindowLong

CWindow::GetWindowWord

Other Resources

CWindow Members