Table of Contents

Method ShowWindowTopMost

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

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 IntPtr

Handle to the window.

x int

Specifies the new position of the left side of the window, in client coordinates.

y int

Specifies the new position of the top of the window, in client coordinates.

cx int

Specifies the new width of the window, in pixels.

cy int

Specifies the new height of the window, in pixels.

Returns

bool

True if success; otherwise false.