View Full Version : controlling the minimum window dimention with glut
02-24-2005, 08: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, 12: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-24-2005, 11:36 PM
Sure you can. Use glutReshapeWindow(yourWidth, yourHeight) in the resize handler.
02-25-2005, 11:07 PM
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.