共用方式為


CWindow::GetWindowWord

擷取 16 位元值中的指定位移至額外的視窗記憶體中。

WORD GetWindowWord( 
   int nIndex  
) const throw();

備註

請參閱在 Windows SDK的 GetWindowLong

需求

Header: atlwin.h

請參閱

參考

CWindow Class

CWindow::SetWindowWord

CWindow::GetWindowLong