Method SetForegroundWindow
| Edit this page View SourceSetForegroundWindow(nint)
Brings the thread that created the specified window into the foreground and activates the window.
Declaration
public static bool SetForegroundWindow(nint hWnd)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | hWnd | A handle to the window that should be activated and brought to the foreground. |
Returns
| Type | Description |
|---|---|
| bool |
|