User32IsWindowVisible(SafeHandle) Method
Determines the visibility state of the specified window.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("User32.dll", SetLastError = true)]
public static bool IsWindowVisible(
SafeHandle hWnd
)
<DllImportAttribute("User32.dll", SetLastError := true>]
Public Shared Function IsWindowVisible (
hWnd As SafeHandle
) As Boolean
Dim hWnd As SafeHandle
Dim returnValue As Boolean
returnValue = User32.IsWindowVisible(hWnd)
public:
[DllImportAttribute(L"User32.dll", SetLastError = true)]
static bool IsWindowVisible(
SafeHandle^ hWnd
)
[<DllImportAttribute("User32.dll", SetLastError = true)>]
static member IsWindowVisible :
hWnd : SafeHandle -> bool
No code example is currently available or this language may not be supported.
- hWnd SafeHandle
-
A handle to the window to be tested.
Boolean
If the specified window, its parent window, its parent's parent window, and so forth,
have the
Visible style, the return value is
.
Otherwise, the return value is
.
Because the return value specifies whether the window has the
Visible style,
it may be nonzero even if the window is minimized or totally obscured by other windows.