共用方式為


CWindow::GetWindowWord

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

WORD GetWindowWord(
   int nIndex 
) const throw();

Remarks

See GetWindowLong in the Windows SDK.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::SetWindowWord

CWindow::GetWindowLong

Other Resources

CWindow Members