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>getwindowword()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GetWindowWord()
Return a word value from a window structure
------------------------------------------------------------------------------

Syntax
GetWindowWord( <hWnd>, <nPos> )   -->   nValue

Arguments
<hWnd> is a handle to a window.

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

Returns
The value is returned as an integer.

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

Example
hParentWnd = GetWindowWord( hWnd, GWW_HWNDPARENT )
? "This window's parent is: ", hParentWnd


See Also: GetWindowLong() SetWindowLong() SetWindowWord()

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