User32BringWindowToTop(SafeHandle) Method
Brings the specified window to the top of the Z order. If the window is a top-level window, it is activated.
If the window is a child window, the top-level parent window associated with the child window is activated.
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 BringWindowToTop(
SafeHandle hWnd
)
<DllImportAttribute("User32.dll", SetLastError := true>]
Public Shared Function BringWindowToTop (
hWnd As SafeHandle
) As Boolean
Dim hWnd As SafeHandle
Dim returnValue As Boolean
returnValue = User32.BringWindowToTop(hWnd)
public:
[DllImportAttribute(L"User32.dll", SetLastError = true)]
static bool BringWindowToTop(
SafeHandle^ hWnd
)
[<DllImportAttribute("User32.dll", SetLastError = true)>]
static member BringWindowToTop :
hWnd : SafeHandle -> bool
No code example is currently available or this language may not be supported.
- hWnd SafeHandle
-
A handle to the window to bring to the top of the Z order.
Boolean
If the the window is zoomed, the return value is
.
If the window is not zoomed, the return value is
.