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