Sign in to follow this  
ProblemBaby

Searching a message

Recommended Posts

Hi I use the DialogBox function to create a Dialog and then Ive som aeras where I want draw with OpenGL. But the first WM_PAINT message doesn't draw the stuff. So I wonder if it exists a message that is called at initialization where I can draw and it will be recognized.

Share this post


Link to post
Share on other sites
But I putted a Msg box in both WM_INITDIALOG and WM_PAINT
and I saw that WM_INITDIALOG was called before WM_PAINT.
even though no graphics is displayed, Ive to do some action but I dont want to do that cause it have to be displayed immediately.




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