Added SetMaxValue() method.

This commit is contained in:
pinkerton 1998-06-01 22:29:57 +00:00
parent 3c419a0f07
commit 196a20ac5e
2 changed files with 15 additions and 0 deletions

View File

@ -104,6 +104,19 @@ CProgressCaption::SetDescriptor(const char* inCDescriptor)
}
//
// SetMaxValue
//
// Sets the max value of the progress bar control.
//
void
CProgressCaption :: SetMaxValue ( Int32 inNewMaxValue )
{
mBar->SetMaxValue ( inNewMaxValue ) ;
} // SetMaxValue
//
// GetValue
// SetValue

View File

@ -45,6 +45,8 @@ class CProgressCaption : public LView
virtual void SetValue(Int32 inValue);
virtual Int32 GetValue() const;
virtual void SetMaxValue ( Int32 inMax ) ;
protected: