SwitchToThisWindow (user32)
Last changed: -198.187.174.15

.
Summary
Switches focus to a specified window and brings it to the foreground.

C# Signature:

[DllImport("user32.dll", SetLastError=true)]
static extern void SwitchToThisWindow(IntPtr hWnd, bool fAltTab);

VB Signature:

Declare Sub SwitchToThisWindow Lib "user32.dll" ( _
   hWnd As IntPtr, fAltTab As Boolean)

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation