View Full Version : controlling the minimum window dimention with glut
02-24-2005, 09:49 AM
Can I control the minimum dimentions of the window with glut?
I use glutCreateWindow, and I want to prevent the user from resizing it to too-small dimentions.
02-24-2005, 01:47 PM
I don't know, you could probably do this in the resize handler that you write.
I think that you can't. I'm not 100% sure though. I guess you'd have to use the windowing system's functions to accomplish that.
02-25-2005, 12:36 AM
Sure you can. Use glutReshapeWindow(yourWidth, yourHeight) in the resize handler.
02-26-2005, 12:07 AM
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.