PDA

View Full Version : Forbid Window re-size



camotin
03-31-2006, 11: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?
Thanks.

jide
03-31-2006, 12:27 PM
This depends on your window manager, not GL.

camotin
03-31-2006, 12:34 PM
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.

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

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