WORD SetWindowLong( int nIndex, WORD wNewWord );
See SetWindowWord in the Win32 SDK.
Remarks
Sets a 16-bit value at a specified offset into the extra window memory.
CWindow Overview | Class Members
See Also CWindow::GetWindowWord, CWindow::SetWindowLong