public static bool HideSubWindow() { IntPtr subWindow = Opengl.GetSubWindow(); if (subWindow == IntPtr.Zero) { return(false); } InteropWindow.ShowWindow(subWindow, 0); return(true); }
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); }
public static bool IsSubWindowVisible() { IntPtr subWindow = Opengl.GetSubWindow(); return(!(subWindow == IntPtr.Zero) && InteropWindow.IsWindowVisible(subWindow)); }