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

Win_BringWindowToTop

Previous pageReturn to chapter overviewNext page

 

Description

 

The BringWindowToTop function brings the specified window to the top of the Z order. If the window is a top-level window, it is activated. If the window is a child window, the top-level parent window associated with the child window is activated.

 

Syntax

 

n = Win_BringWindowToTop(hWnd)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the window or child window

 

Remarks

 

For additional info, please refer to MS documentation at: http://msdn.microsoft.com/en-us/library/ms632673(VS.85).aspx

 

Restrictions

 

See also

 

Examples