3D PLM Enterprise Architecture |
User Interface - Dialogs |
CATDlgProgressShows the progress of a lengthy operation |
Quick Reference |
CATDialog | +---CATDlgControl | +---CATDlgProgress
The progress indicator shows to the end user that a lengthy operation is taking place, and also shows the progress from the beginning to the end of this operation by filling in a rectangle with a pattern whose length, compared to the rectangle length, indicates the lengthy operation completion rate. |
Use progress indicators whenever you want to show that a lengthy opeation is currently running.
Name | Description |
---|---|
default | The progress indicator default style. |
[Top]
The progress indicator is dedicated to show a lengthy operation progress. You can manage the value range and the step, as well as the current value shown by the progress indicator.
[Top]
The progress indicator has only a default style.:
_pProgress = new CATDlgProgress (this, "Progress"); |
[Top]
You can do the following:
int *oStart, *oEnd; MyProgress->GetRange(oStart, oEnd); |
int iStart = 0: int iEnd = 100; MyProgress->SetRange(iStart, iEnd); |
int Step; Step = MyProgress->GetStep(); |
int iStep; MyProgress->SetStep(iStep); |
[Top]
You can do the following:
int CurrentValue; CurrentValue = MyProgress->GetPos(); |
int iCurrentValue = 30: MyProgress->SetPos(iCurrentValue); |
int iNStep; MyProgress->OffsetPos(); |
MyProgress->StepIt(); |
[Top]
The push button title should be set by the resource file using a key built with the identifier you declare as the second parameter of the push button constructor.
[Top]
Version: 1 [Jan 2000] | Document created |
[Top] |
Copyright © 2000, Dassault Systèmes. All rights reserved.