June 2001
Intermediate to advanced
706 pages
24h 10m
English
GetWindowLong
Returns the specified information about a window:
Public Declare Function GetWindowLong Lib "user32" _ Alias "GetWindowLongA" _ (ByVal hwnd As Long, ByVal nIndex As Long) As Long
hwnd
A window handle.
nIndex
A constant that determines the type of value that this function will
return. The GWL_HINSTANCE constant (or -6) must be
provided to the nIndex parameter to return
the application’s instance handle.
If successful, returns the value requested. Otherwise, returns a zero.
Read now
Unlock full access