User32ShowWindow(IntPtr, NativeWindowState) Method

Sets the specified window's show state.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: 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 ShowWindow(
	IntPtr hWnd,
	NativeWindowState windowState
)

Parameters

hWnd  IntPtr
A IntPtr handle to the window.
windowState  NativeWindowState
Controls how the window is to be shown.

Return Value

Boolean
If the window was previously visible, the return value is .

If the window was previously hidden, the return value is .

Remarks

See Also