Win_SetWindowLong

<< Click to Display Table of Contents >>

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

Win_SetWindowLong

 

Description

 

Changes an attribute of the specified window.

 

Syntax

 

n = Win_SetWindowLong(hWnd, nIndex, NewLong)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the window

nIndex

Number

No

The following attributes are supported:

 

%GWL_EXSTYLE

Sets a new extended window style.

%GWL_STYLE

Sets a new window style.

 

NewLong

Number

No

The new value to assign

 

Remarks

 

Restrictions

 

See also

 

Examples