WindowsUtilitiesGetForegroundWindow Method |
Retrieves a handle to the foreground window (the window with which the user is currently working).
The system assigns a slightly higher priority to the thread that creates the foreground window than it does to other threads.
Namespace:
callback.ShellBoost.Core.Utilities
Assembly:
callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax public static IntPtr GetForegroundWindow()
Return Value
Type:
IntPtrA handle to the foreground window.
See Also