Rotating progress bar control class (not a progress bar as it doesn't have a range). More...
#include <RequestProgressDlg.h>
Inherits ADMBaseControl.

Public Member Functions | |
| ADMMoveProgress (int nSteps) | |
| Constructor. | |
| virtual void | ConnectToControl (ADMItemRef control, unsigned int uFlags=CFNotify) |
| Called to connect an ADMBaseControl object to an ADM control. | |
| void | Step () |
| Call to move the progress indicator one step ahead. | |
Protected Member Functions | |
| virtual void | OnDraw (ADMDrawerRef inDrawer) |
| Called when the control needs drawing. | |
Protected Attributes | |
| int | m_nSteps |
| Number of steps to display. | |
| int | m_nStep |
| Current step. | |
Rotating progress bar control class (not a progress bar as it doesn't have a range).
Definition at line 36 of file RequestProgressDlg.h.
| ADMMoveProgress::ADMMoveProgress | ( | int | nSteps | ) | [inline] |
Constructor.
| nSteps | The number of steps to display |
Definition at line 43 of file RequestProgressDlg.h.
| virtual void ADMMoveProgress::ConnectToControl | ( | ADMItemRef | control, | |
| unsigned int | uFlags = CFNotify | |||
| ) | [inline, virtual] |
Called to connect an ADMBaseControl object to an ADM control.
| control | Reference to the ADM control | |
| uFlags | Connection flags |
Adds a owner-drawn flag as this control is always owner-drawn
Reimplemented from ADMBaseControl.
Definition at line 52 of file RequestProgressDlg.h.
| void ADMMoveProgress::OnDraw | ( | ADMDrawerRef | inDrawer | ) | [protected, virtual] |
Called when the control needs drawing.
| inDrawer | ADM drawing object |
Reimplemented from ADMBaseControl.
Definition at line 31 of file RequestProgressDlg.cpp.
1.6.1