Method ShowWindowTopMost
ShowWindowTopMost(IntPtr, int, int, int, int)
Places the window above all non-topmost windows.
public static bool ShowWindowTopMost(IntPtr hwnd, int x, int y, int cx, int cy)
Parameters
hwnd
IntPtrHandle to the window.
x
intSpecifies the new position of the left side of the window, in client coordinates.
y
intSpecifies the new position of the top of the window, in client coordinates.
cx
intSpecifies the new width of the window, in pixels.
cy
intSpecifies the new height of the window, in pixels.
Returns
- bool
True if success; otherwise false.