public static WS GetWindowLong(this IntPtr hWnd) { return((WS)NativeMethods.GetWindowLong(hWnd, (int)GWL.STYLE)); }
public static WS SetWindowLong(this IntPtr hWnd, WS dwNewLong) { return((WS)NativeMethods.SetWindowLong(hWnd, (int)GWL.STYLE, (int)dwNewLong)); }
public static WSEX SetWindowLongEx(this IntPtr hWnd, WSEX dwNewLong) { return((WSEX)NativeMethods.SetWindowLong(hWnd, (int)GWL.EXSTYLE, (int)dwNewLong)); }
public static WSEX GetWindowLongEx(this IntPtr hWnd) { return((WSEX)NativeMethods.GetWindowLong(hWnd, (int)GWL.EXSTYLE)); }