[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'InterfaceBase' (#lcl)

TWidgetSet.GetWindowLong

Returns attributes of a window.

Declaration

Source position: winapih.inc line 158

public function TWidgetSet.GetWindowLong(

  Handle: HWND;

  int: Integer

):PtrInt; virtual;

Arguments

Handle

  

The window handle.

int

  

Offset of the attribute.

Function result

The sttribute.

Description

The following attributes are defined:

The following attributes are also available when the window is a dialog box:

GWL_USERDATA and DWL_USER are the base offsets of user added attributes. The second user attribute can be access with an additional offset of 4, and so on.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.