09-24-2001, 11:47 AM
Hi there,
When I call glutFullScreen() on a display running at 1280x1024, my window gets drawn larger than the actual screen real estate. It actually appears that the interior of the window is set to 1280x1024, but the title bar is drawn with its origin at the upper left hand corner of the screen, and hence parts of my window are off screen.
Is there an easy way to get the window to maximize properly, or do I just have to calclulate the size of the title bar and borders and then use glutPositionWindow and ResizeWindow() to get what I need?
Thanks
--vanya
When I call glutFullScreen() on a display running at 1280x1024, my window gets drawn larger than the actual screen real estate. It actually appears that the interior of the window is set to 1280x1024, but the title bar is drawn with its origin at the upper left hand corner of the screen, and hence parts of my window are off screen.
Is there an easy way to get the window to maximize properly, or do I just have to calclulate the size of the title bar and borders and then use glutPositionWindow and ResizeWindow() to get what I need?
Thanks
--vanya