[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
GetWindowLong( hWnd, nOffset ) -> <nlValue>
------------------------------------------------------------------------------
PARAMETER:
<hWnd> Is the handle that identifies the window
<nOffset> specifies the zero-based byte offset of the value to be
retrieved. Valid values are in the range zero through the
number of bytes of the extra window memory, minus 4 (for
example, if 12 or more bytes of extra memory was specified,
a value of 8 would be an index to the third long integer).
You can also use these predefines constants:
GWL_EXSTYLE -20 Extended window style
GWL_STYLE -16 Window style
GWL_WNDPROC - 4 Long pointer to the window procedure
The following values are available, when the function is
called for a dialog box:
DWL_DLGPROC 4 Specifies the address of the dialog box
procedure
DWL_MSGRESULT 0 Specifies the return value of a message
processed in the dialog box procedure.
DWL_USER 8 Specifies extra information that is
private to the application, such as
handles or pointers.
RETURNS:
The return value specifies information about the given window if the
function is successful.
DESCRIPTION:
The GetWindowLong function retrieves a long value at the specified offset
into the extra window memory of the given window. Extra window memory can
be reserved within the RegisterClass function.
SOURCE:
SOURCE\WINAPI\WNDIS.C
See Also:
GetWindowWord
RegisterClass
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson