PDA

View Full Version : nonresizable window



selcux
11-14-2005, 11:46 PM
how can I change window properties to make it non resizable?

hernan
11-15-2005, 02: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, 09:52 AM
What about GLUT?
I use GLUT but I could not see such a specification.

11-15-2005, 02: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).