WindowsUtilitiesSetActiveWindow Method |
Activates a window.
The window must be attached to the calling thread's message queue.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static IntPtr SetActiveWindow(
IntPtr handle
)
Parameters
- handle
- Type: SystemIntPtr
A handle to the top-level window to be activated.
Return Value
Type:
IntPtrThe handle to the window that was previously active or IntPtr.Zero.
See Also