Example #1
0
 public static void EnableMouseTransparency(IntPtr hWnd)
 {
     WinAPI.SetWindowLong(hWnd, -20, Convert.ToInt32((long)(WinAPI.GetWindowLong(hWnd, -20) | 0x80000) | 32L));
 }
Example #2
0
 public static void FlipRight(IntPtr hWnd)
 {
     WinAPI.SetWindowLong(hWnd, -20, 0);
 }
Example #3
0
        public static void DisableMinimizeButton(IntPtr hWnd)
        {
            int windowLong = WinAPI.GetWindowLong(hWnd, -16);

            WinAPI.SetWindowLong(hWnd, -16, windowLong & -131073);
        }
Example #4
0
        public static void FlipLeft(IntPtr hWnd)
        {
            int windowLong = WinAPI.GetWindowLong(hWnd, -20);

            WinAPI.SetWindowLong(hWnd, -20, windowLong | 0x400000);
        }
Example #5
0
        public static void DisableMaximizeButton(IntPtr hWnd)
        {
            int windowLong = WinAPI.GetWindowLong(hWnd, -16);

            WinAPI.SetWindowLong(hWnd, -16, windowLong & -65537);
        }