Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>setwindowword()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SetWindowWord()
Set a word (16-bit) value into a window structure
------------------------------------------------------------------------------

Syntax
SetWindowWord( <hWnd>, <nPos>, <nValue> )   -->   nOldValue

Arguments
<hWnd> is a handle to a window.

<nPos> is the word whose value is to be changed.  (Use one of
the GWW_* values defined in WINDOWS.CH.)

<nValue> is the value to be stored in the specified position.

Returns
The previous value is returned as an integer.

Description
This function can be used to change a word (32-bit value) in
the window structure that is maintained internally by Windows.

You should be sure you know what you're doing...

Example
// There is no example, as it is not recommended.


See Also: GetWindowLong() GetWindowWord() SetWindowLong()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson