PalBringWindowToTop

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalBoolean PalBringWindowToTop ( SalWindowHandle hWnd )

PalBringWindowToTop method works in the same way as SalBringWindowToTop. This method should be used instead of SalBringWindowToTop in places where SalBringWindowToTop is not working.

Typically this can be when the application wants the MDI-window to be placed on the top when a file has been dragged and dropped on it from an external window.

Parameters

Name Description
SalWindowHandle hWnd The handle of the window to bring to the top.

Returns

The return value is TRUE when the window was brought to the foreground., FALSE otherwise.

Example

! Bring the MDI window to the top
Call PalBringWindowToTop( hWndMDI )
Add C# coding sample