Exemplo n.º 1
0
 public static bool IsWindowTopMost(IntPtr hWnd)
 {
     return((InteropWindow.GetWindowLong(hWnd, -20) & 8) == 8);
 }
Exemplo n.º 2
0
        public static void RemoveWindowFromAltTabUI(IntPtr handle)
        {
            int windowLong = InteropWindow.GetWindowLong(handle, -20);

            InteropWindow.SetWindowLong(handle, -20, windowLong | 128);
        }