PDA

View Full Version : Paint OpenGL in a dialog window?



nix
03-25-2001, 10:03 PM
My problem:
Can I paint with OpenGL in a dialog window? If it's possible, tell me what to do.

I have a dialog based program and in the left corner I want a OpenGL field where I want to put som graphics. In the right side I have a lot of buttons and stuff which have different functions.

---------------------------
I I I
I OPEN I BUTTONS, I
I GL I ... I
I SPACE I I
I I I
----------------------------

PLEASE HELP ME !!!

/nix

chennes
03-26-2001, 06:13 AM
Yes - you can put a GL drawing area wherever you want. You can place it in your dialog the same way you place anything else.

Chris

nix
03-26-2001, 09:25 AM
...and how do I do?

/nix

link19
03-26-2001, 09:31 AM
http://codeguru.earthweb.com/opengl/texture_mapping.shtml