Navigation:  ThinBASIC Modules > UI (User Interface) > Windows API >

Win_GetWindowLong

Previous pageReturn to chapter overviewNext page

 

Description

 

Get an attribute from the specified window.

 

Syntax

 

n = Win_GetWindowLong(hWnd, nIndex)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the window

nIndex

Number

No

The following attributes are supported:

 

%GWL_EXSTYLE

Extended window style.

%GWL_STYLE

Window style.

 

 

Remarks

 

Restrictions

 

See also

 

Examples