共用方式為


CWindow::SetWindowWord

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

WORD SetWindowWord( 
   int nIndex, 
   WORD wNewWord  
) throw();

Remarks

See SetWindowLong in the Windows SDK.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::GetWindowWord

CWindow::SetWindowLong