Exemple #1
0
 public static bool IsMinimize(IntPtr hwnd)
 {
     if ((WinUser.GetWindowLong(hwnd, WinUser.GWL_STYLE) & WinUser.WS_MINIMIZE) != 0)
     {
         return(true);
     }
     return(false);
 }
Exemple #2
0
 public static void KeyDown(IntPtr handle, int key)
 {
     WinUser.SendMessage(handle, 0x0100, key, 0);
 }