Maybe becourse this doenst seams to be a opengl question, but rather an GLUT question, and maybe you get more answer if you ask in the appropriate forum?
I am alway’s happy to help, but I do not sit by my computer 24 hours a day waiting on someone to post a message.
I have not done much with having two windows open at once under glut, but will be happy to look into it. Note it could be a few hours before I get back.
Originally posted by prashantgp: Hi VC6-OGL,nexusone,shintanu,
i need ur help guys
First of all thanks to all of u for replying to my post.
Hi Nexus,
even i thought of the same idea and tried calling the reshape of the subwindow in main windows reshape function.( even i created the subwindow there itself and called the reshape for the same).
But instead of giving correct results it’s getting hanged.
i dont know why??
so ur further help is appreciated much.
and also ,
Mazy, thanks for ur suggestion , why dont u tell me any proper forum for glut. i cant find one(infact i didn’t tried to search).
hi VC6-OGL , i am looking forward to hear from u.
bye bye
regards,
Prashant G.P
Originally posted by nexusone:
[b]Just a thought,
In your reshape function it will only effect the current active window, you may need to make the subwindow active to resize is also.
so you maybe after resize of main, make sub active and resize it…
I have not tried this out so it is just a thought not a fact.