PDA

View Full Version : nonresizable window



selcux
11-15-2005, 12:46 AM
how can I change window properties to make it non resizable?

hernan
11-15-2005, 03:30 AM
First of all, what windows manager are you using? (GLUT, SDL, X, WGL, etc.)
In SDL, you have the SDL_NORESIZE parameter (you'll have to use it in the SDL_SetVideoMode). I'm sure you have something like that with the other managers.

selcux
11-15-2005, 10:52 AM
What about GLUT?
I use GLUT but I could not see such a specification.

11-15-2005, 03:18 PM
There is no way to do that with GLUT, directly. You'd have to frolic in the Windows API (use convoluted and unsightly workarounds).