Пример #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));
 }