Example #1
0
        public static bool HideSubWindow()
        {
            IntPtr subWindow = Opengl.GetSubWindow();

            if (subWindow == IntPtr.Zero)
            {
                return(false);
            }
            InteropWindow.ShowWindow(subWindow, 0);
            return(true);
        }
Example #2
0
 public static bool ResizeSubWindow(int x, int y, int cx, int cy)
 {
     InteropWindow.SetWindowPos(Opengl.GetSubWindow(), IntPtr.Zero, x, y, cx, cy, 16468U);
     return(true);
 }
Example #3
0
        public static bool IsSubWindowVisible()
        {
            IntPtr subWindow = Opengl.GetSubWindow();

            return(!(subWindow == IntPtr.Zero) && InteropWindow.IsWindowVisible(subWindow));
        }