View Full Version : Forbid Window re-size

03-31-2006, 10:57 AM
Hi! I need to create a window wich size must be constant. The program must not allow to change the size, but I have no idea how to do it.
I've tried with the reshape function, but I don't know how to do it.
Can anybody help me?

03-31-2006, 11:27 AM
This depends on your window manager, not GL.

03-31-2006, 11:34 AM
I know it can be done with GL instructions, but I don't know which ones. glutReshapeFunc is involved, but I don't know how use it for this objective.
I've tried almost everything, changing the parameters to glViewPort, glutReshapeFunc, glutWindowSize(now I know it doesn't exist)...
I don't know what else I can do.

03-31-2006, 03:24 PM
I've found the instruction. It is glutWindowReshape.

04-01-2006, 03:29 AM
This is not a 'GL instruction'.