PDA

View Full Version : How displaying dialog boxes in openGL



12-23-2002, 09:55 PM
hello.
I'm trying to use dialog boxes in an openGL
inviorment.
i've created a dialog box (with resource)
but DialogBar(...) won't show it.
please help.
tanks.

Halcyon
12-24-2002, 12:12 AM
To Allon: http://www.gametutorials.com/Tutorials/win32/Win32_Pg2.htm

This is a good place to start...you have to scroll down a little bit to get there. Basically you create it like any other resource and then make a 'wndProc' procedure to handle all of it's messages...except you can call it anything u like (usually WndProc is taken up by the main window so it's something else <http://www.opengl.org/discussion_boards/ubb/smile.gif> ) Well hope it helps...that's a great site of opengl tutorials too!!

12-24-2002, 11:07 PM
your information really helped.
thanks.

Originally posted by Halcyon:
To Allon: http://www.gametutorials.com/Tutorials/win32/Win32_Pg2.htm

This is a good place to start...you have to scroll down a little bit to get there. Basically you create it like any other resource and then make a 'wndProc' procedure to handle all of it's messages...except you can call it anything u like (usually WndProc is taken up by the main window so it's something else <http://www.opengl.org/discussion_boards/ubb/smile.gif> ) Well hope it helps...that's a great site of opengl tutorials too!!