Sign in to follow this  

Win32 ShowWindow

This topic is 3420 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a window with several labels, which are all initially invisible. Performing some operations, I want to show one label per operation as a progress indicator. So each time I need I call: ShowWindow(GetDlgItem(hWndMyDlg, nIDLabel), SW_SHOW); But all I get is the window to get white. How can I refresh my window in a good way? Thanks

Share this post


Link to post
Share on other sites
I put it under the WM_INITDIALOG case within MyDlgProc, but when I put it under the default case I got my window white or not well refreshed. I don't remember if I tried to put it also under the WM_PAINT case. I'll try it. Anything else to suggest?

Share this post


Link to post
Share on other sites
I put it under the WM_INITDIALOG case within MyDlgProc, but when I put it under the default case I got my window white or not well refreshed. I don't remember if I tried to put it also under the WM_PAINT case. I'll try it. Anything else to suggest?

Share this post


Link to post
Share on other sites

This topic is 3420 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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