GetForegroundWindow (user32)
Last changed: -70.130.76.223

.
Summary

C# Signature:

[DllImport("user32.dll")]
static extern IntPtr GetForegroundWindow();

VB Signature:

<DllImport("user32.dll", SetLastError:=True)> _
Private Shared Function GetForegroundWindow() As IntPtr
End Function

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation