ExtensionMethods.IsTopmost(IntPtr) Method

Definition

Determines if an HWND is a topmost window.

public:
 static bool IsTopmost(IntPtr hWnd);
public static bool IsTopmost (IntPtr hWnd);
static member IsTopmost : nativeint -> bool
Public Function IsTopmost (hWnd As IntPtr) As Boolean

Parameters

hWnd
IntPtr

nativeint

The HWND to test.

Returns

True if the hWnd has the WS_EX_TOPMOST style, otherwise false.

Applies to