ExtensionMethods.IsTopmost(IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.