GroupLab Widget Tap Library

Win32Helper.GetForegroundWindow Method 

Gets the windowing system identifier of the current foreground window.

public static IntPtr GetForegroundWindow();

Return Value

A window handle.

See Also

Win32Helper Class | GroupLab.WidgetTap.Helpers Namespace