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

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

Arguments
<hWnd> is a handle to a window.

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

Returns
The value is returned as an integer.

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

Example
nStyle = GetWindowLong( hWnd, GWL_STYLE )
? "This window's style is: ", nStyle


See Also: GetWindowWord() SetWindowLong() SetWindowWord()

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