00001
00011
00012
00013 #if (_MSC_VER > 1000) || defined(SGI_COMPILER)
00014 #pragma once
00015 #endif
00016
00017 #ifndef __XSIPROGRESSBAR_H__
00018 #define __XSIPROGRESSBAR_H__
00019
00020 #include <xsi_base.h>
00021 #include <xsi_value.h>
00022 #include <xsi_status.h>
00023
00024 #pragma warning(disable:4251)
00025
00026 namespace XSI {
00027
00028
00061
00062
00063 class SICPPSDKDECL ProgressBar : public CBase
00064 {
00065 public:
00067 ProgressBar();
00068
00070 ~ProgressBar();
00071
00075 ProgressBar(const CRef& in_ref);
00076
00080 ProgressBar(const ProgressBar& in_obj);
00081
00086 bool IsA( siClassID in_ClassID) const;
00087
00091 siClassID GetClassID() const;
00092
00098 ProgressBar& operator=(const ProgressBar& in_obj);
00099
00105 ProgressBar& operator=(const CRef& in_ref);
00106
00110 LONG GetMaximum() const;
00111
00121 CStatus PutMaximum( LONG in_val );
00122
00126 LONG GetMinimum() const;
00127
00137 CStatus PutMinimum( LONG in_val );
00138
00142 LONG GetStep() const;
00143
00154 CStatus PutStep( LONG in_step );
00155
00159 LONG GetValue() const;
00160
00168 CStatus PutValue( LONG in_val );
00169
00173 CString GetCaption() const;
00174
00180 CStatus PutCaption( const CString& in_str );
00181
00185 CString GetStatusText() const;
00186
00192 CStatus PutStatusText( const CString& in_str );
00193
00197 bool GetVisible() const;
00198
00205 CStatus PutVisible( bool in_flag );
00206
00210 bool IsCancelPressed() const;
00211
00219 LONG Increment( LONG in_val=1 );
00220
00221
00229 CStatus PutCancelEnabled( bool in_bEnable ) ;
00230
00232 bool IsCancelEnabled() const ;
00233
00234
00235 private:
00236 ProgressBar * operator&() const;
00237 ProgressBar * operator&();
00238 };
00239
00240 };
00241 #endif // __XSIPROGRESSBAR_H__