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