Sign in to follow this  
hoohoo

How to make animation not stop when a dialog is open

Recommended Posts

Hi guys, I'm making a win program that uses the NeHe opengl basecode. Is there any way to make the opengl animation not stop while the program is showing a popup or a dialog box? Thx in advance. [Edited by - hoohoo on March 19, 2010 3:41:48 PM]

Share this post


Link to post
Share on other sites
I think it's good manners to share your solution, so that others searching for the same issue can benefit rather than hit a needless dead end.

Share this post


Link to post
Share on other sites
Good point, pjcard.
The solution is simple: modless dialogs. I used the CreateDialog() function instead of DialogBox().

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this