[Overview][Types][Procedures and functions][Variables][Index] |
Returns attributes for the specified window handle.
Source position: winapih.inc line 159
function GetWindowLong( |
Handle: HWND; |
int: Integer |
):PtrInt; |
Handle |
|
Handle for the window with attributes retrieved in the routine. |
int |
|
Ordinal position for the attributes retrieved for the window handle. |
Pointer to the Integer value which represents the attributes for the specified window Handle.
GetWindowLong is a PtrInt function used to retrieve specific attributes for the window represented by Handle. GetWindowLong provides access to the corresponding method in the widgetset class instances. GetWindowLong is Windows-specific; the implementation for other widgetsets simply returns a 0 value.
Handle is the HWND value used as the handle for the Window examined in the routine.
int is an Integer value which contains the 0-based offset to the Cardinal values returned by the routine.
The following values defined in lcltype.pp are allowed in the int argument:
The return value contains the attributes for the value requested in int. If the function fails, the return value is zero (0). If SetWindowLong has not been called to store the specified values, GetWindowLong returns zero (0).
Version 3.2 | Generated 2024-02-25 | Home |