[DllImport("coredll.dll")]
private static extern IntPtr GetDesktopWindow();
Declare Function GetDesktopWindow Lib "coredll.dll" () As IntPtr
None.
Do you know one? Please contribute it!
None.
Please add some!
[DllImport ("coredll")]
private static extern bool SetForegroundWindow(IntPtr hWnd);
[DllImport ("coredll")]
private static extern IntPtr GetDesktopWindow();
private void SendToBack()
{
SetForegroundWindow (GetDesktopWindow());
}