예제 #1
0
 public static int GetWindowText(IntPtr hWnd, StringBuilder title, int length)
 {
     return(SafeNativeMethods.GetWindowText(hWnd, title, length));
 }
예제 #2
0
 public static bool BringWindowToTop(IntPtr hWnd)
 {
     return(SafeNativeMethods.BringWindowToTop(hWnd));
 }
예제 #3
0
 public static IntPtr GetWindow(IntPtr parentHWnd, GW uCmd)
 {
     return(SafeNativeMethods.GetWindow(parentHWnd, uCmd));
 }
예제 #4
0
 public static bool SetForegroundWindow(IntPtr hWnd)
 {
     return(SafeNativeMethods.SetForegroundWindow(hWnd));
 }
예제 #5
0
 public static int SetWindowLong(IntPtr hWnd, int index, int newStyle)
 {
     return(SafeNativeMethods.SetWindowLong(hWnd, index, newStyle));
 }
예제 #6
0
 public static int GetWindowLong(IntPtr hWnd, int index)
 {
     return(SafeNativeMethods.GetWindowLong(hWnd, index));
 }
예제 #7
0
 public static bool DestroyWindow(IntPtr hWnd)
 {
     return(SafeNativeMethods.DestroyWindow(hWnd));
 }
예제 #8
0
 public static IntPtr GetForegroundWindow()
 {
     return(SafeNativeMethods.GetForegroundWindow());
 }