|
-
June 3rd, 1999, 12:29 PM
#1
Re-paint all controls when dialog box is visible
I'd like to know how to do to re-paint all controls in a dialog box when this one is visible (and when PC is processing) after having been hidden.
For example, I create a Dialog Box with CStatic, CEdit..... and CProgressCtrl controls and, from this dialog box,Icall a function Process([function parameters],CProgressCtrl* poProgress)
{
for(i = 0;i < 10000;i++)
{
.
.
.
poProgress->OffsetPos(1);
}
}
When the dialog box is hidden and re-shown, only the progression of the CProgressCtrl is redrawn.
I'd like all the other controls to be redrawn.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|