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

Win_Get

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the number of windows found that have the requested properties.

 

Syntax

 

n = Win_Get(AnyNumericArray(), uCmd [, sTitleRegExp [, OnlyVisible]])

 

Returns

 

Number.

Number of windows found.

 

Parameters

 

Name

Type

Optional

Meaning

AnyNumericArray

Array

No

A numeric array (LONG or DWORD data type) that will be re-dimensioned and filled with requested data

uCmd

Number

No

Use one of the following:

 

%WIN_GET_HWND

return window handlers

 

sTitleRegExp

String

Yes

text regular expression that will be match with window title

OnlyVisible

Numeric

Yes

If %TRUE only windows that are visible will be returned regardless their title

 

Remarks

 

Restrictions

 

See also

 

Examples