[DllImport("user32.dll", SetLastError=true)]
public static extern IntPtr SetActiveWindow(IntPtr hWnd);
<DllImport("user32.dll", SetLastError:=true)> _
Private Shared Function SetActiveWindow(ByVal hWnd As IntPtr) As IntPtr
End Function
Public Declare Function SetActiveWindow Lib "user32" _
(ByVal hWnd As Long) As Long
None.
None.
Please add some!
[DllImport("user32.dll")]
static extern IntPtr SetActiveWindow(IntPtr hWnd);
public void MakeFormActive()
{
SetActiveWindow(wndHandle);
}
Do you know one? Please contribute it!