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