ADMMoveProgress Class Reference

Rotating progress bar control class (not a progress bar as it doesn't have a range). More...

#include <RequestProgressDlg.h>

Inherits ADMBaseControl.

Collaboration diagram for ADMMoveProgress:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Rotating progress bar control class (not a progress bar as it doesn't have a range).

Definition at line 36 of file RequestProgressDlg.h.


Constructor & Destructor Documentation

ADMMoveProgress::ADMMoveProgress ( int  nSteps  )  [inline]

Constructor.

Parameters:
nSteps The number of steps to display

Definition at line 43 of file RequestProgressDlg.h.


Member Function Documentation

virtual void ADMMoveProgress::ConnectToControl ( ADMItemRef  control,
unsigned int  uFlags = CFNotify 
) [inline, virtual]

Called to connect an ADMBaseControl object to an ADM control.

Parameters:
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.

Parameters:
inDrawer ADM drawing object

Reimplemented from ADMBaseControl.

Definition at line 31 of file RequestProgressDlg.cpp.

References m_nStep, and m_nSteps.


The documentation for this class was generated from the following files:

Generated on Thu Dec 17 17:37:09 2009 for CCInfo PDF Plugin by doxygen 1.6.1