Cedric Dostal
June 3rd, 1999, 12:29 PM
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.
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.