GME
13
|
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 00010 #include "Resource.h" 00011 00013 // CModelPropertiesDlgBar dialog 00014 00015 #define MAX_ZOOM 100 00016 00017 class CModelPropertiesDlgBar : public CDialogBar 00018 { 00019 // Construction 00020 public: 00021 CModelPropertiesDlgBar(); // standard constructor 00022 00023 // Dialog Data 00024 //{{AFX_DATA(CModelPropertiesDlgBar) 00025 enum { IDD = IDD_MODELPROPERTIESBAR }; 00026 //}}AFX_DATA 00027 00028 void ShowInstance(); 00029 void ShowType(); 00030 00031 // Overrides 00032 // ClassWizard generated virtual function overrides 00033 //{{AFX_VIRTUAL(CModelPropertiesDlgBar) 00034 //}}AFX_VIRTUAL 00035 void SetZoomList(int *list); 00036 void SetZoomVal(int kk); 00037 void NextZoomVal(int &kk); 00038 void PrevZoomVal(int &kk); 00039 00040 private: 00041 int m_zoomlist[MAX_ZOOM]; 00042 00043 void WriteNumToEdit(CEdit *edit, int kk); 00044 00045 // Implementation 00046 protected: 00047 00048 //{{AFX_MSG(CModelPropertiesDlgBar) 00049 virtual void OnOK(); 00050 afx_msg void OnSelEnd(); 00051 //}}AFX_MSG 00052 DECLARE_MESSAGE_MAP() 00053 }; 00054 00055 #endif // !defined(AFX_MODELPROPERTIESDLGBAR_H__08501133_C2F9_11D3_91E6_00104B98EAD9__INCLUDED_)