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

Win_GetForeground

Previous pageReturn to chapter overviewNext page

 

Description

 

Return the handle of the current foreground window.

 

Syntax

 

hWnd = Win_GetForeground()

 

Returns

 

Number: handle to the window.

 

Parameters

 

Name

Type

Optional

Meaning





 

Remarks

 

This command is the same as Win_GetForegroundWindow

 

Restrictions

 

See also

 

Examples