bool SetWndTopMost(int hWnd, bool topMost)

Sets the top-most property of the specified window. Trust Level Required: High

Parameters

Name Description
hWnd The handle of the window.
topMost The new value of the 'topMost' property on the window.

Return

True on success.