예제 #1
0
 public static WS GetWindowLong(this IntPtr hWnd)
 {
     return((WS)NativeMethods.GetWindowLong(hWnd, (int)GWL.STYLE));
 }
예제 #2
0
 public static WS SetWindowLong(this IntPtr hWnd, WS dwNewLong)
 {
     return((WS)NativeMethods.SetWindowLong(hWnd, (int)GWL.STYLE, (int)dwNewLong));
 }
예제 #3
0
 public static WSEX SetWindowLongEx(this IntPtr hWnd, WSEX dwNewLong)
 {
     return((WSEX)NativeMethods.SetWindowLong(hWnd, (int)GWL.EXSTYLE, (int)dwNewLong));
 }
예제 #4
0
 public static WSEX GetWindowLongEx(this IntPtr hWnd)
 {
     return((WSEX)NativeMethods.GetWindowLong(hWnd, (int)GWL.EXSTYLE));
 }