controlling the minimum window dimention with glut

Hi all

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.

Thanks

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.

Sure you can. Use glutReshapeWindow(yourWidth, yourHeight) in the resize handler.

Thanks :slight_smile: