GME  13
ModelPropertiesDlgBar.h
Go to the documentation of this file.
00001 #if !defined(AFX_MODELPROPERTIESDLGBAR_H__08501133_C2F9_11D3_91E6_00104B98EAD9__INCLUDED_)
00002 #define AFX_MODELPROPERTIESDLGBAR_H__08501133_C2F9_11D3_91E6_00104B98EAD9__INCLUDED_
00003 
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007 // ModelPropertiesDlgBar.h : header file
00008 //
00009 
00011 // CModelPropertiesDlgBar dialog
00012 
00013 #define MAX_ZOOM 100
00014 
00015 class CModelPropertiesDlgBar : public CPaneDialog
00016 {
00017         DECLARE_DYNCREATE(CModelPropertiesDlgBar)
00018 // Construction
00019 public:
00020         CModelPropertiesDlgBar();   // standard constructor
00021 
00022         // Dialog Data
00023         //{{AFX_DATA(CModelPropertiesDlgBar)
00024         enum { IDD = CG_IDD_MODELPROPERTIESBAR };
00025         //}}AFX_DATA
00026 
00027         void ShowInstance();
00028         void ShowType();
00029 
00030 // Overrides
00031         // ClassWizard generated virtual function overrides
00032         //{{AFX_VIRTUAL(CModelPropertiesDlgBar)
00033         //}}AFX_VIRTUAL
00034         void SetZoomList(int *list);
00035         void SetZoomVal(int kk);
00036         void NextZoomVal(int &kk);
00037         void PrevZoomVal(int &kk);
00038 
00039         virtual BOOL CanFloat() const { return FALSE; };
00040 
00041 private:
00042         int m_zoomlist[MAX_ZOOM];
00043 
00044         void writeNumToEdit(CEdit *edit, int kk);
00045 
00046 // Implementation
00047 protected:
00048 
00049         //{{AFX_MSG(CModelPropertiesDlgBar)
00050         virtual void OnOK();
00051         afx_msg void OnSelEnd();
00052         //}}AFX_MSG
00053         DECLARE_MESSAGE_MAP()
00054 };
00055 
00056 #endif // !defined(AFX_MODELPROPERTIESDLGBAR_H__08501133_C2F9_11D3_91E6_00104B98EAD9__INCLUDED_)