View Full Version : creating multiple windows?

07-27-2001, 10:21 PM

I would like to know any resources out there that can teach me on how to create multiple windows in openGL (i.e. 3 different representations of data/solution at the same time on 3 connected but separate windows)

Thanks for any info

Rob The Bloke
07-28-2001, 06:09 AM
If you're using glut, create a second window in exactly the same way as before - make sure that you provide seperate callbacks for your display & reshape functions. (plus mouse keyboard etc...).

order goes like :

createWindow 1

glutDisplayFunc( win1Display );
glutReshapeFunc( win1Reshape );

createWindow 2

glutDisplayFunc( win2Display );
glutReshapeFunc( win2Reshape );


if using MFC or any other API, then let us know and you'll be given your answer.....