SetForegroundWindow Function - Windows API

Purpose



Declaration

C#

[DllImport("User32.dll")]
public static extern Int32 SetForegroundWindow(int hWnd);