00001 #if !defined(AFX_PTOOLBAR_H__347EDC1E_714A_4AC4_9467_E61B570C3FE7__INCLUDED_) 00002 #define AFX_PTOOLBAR_H__347EDC1E_714A_4AC4_9467_E61B570C3FE7__INCLUDED_ 00003 00004 #if _MSC_VER > 1000 00005 #pragma once 00006 #endif // _MSC_VER > 1000 00007 #include "EditObjectName.h" 00008 #include "EditObjectCaption.h" 00009 #include "EditObjectInfo.h" 00010 #include "ComboBoxObjectType.h" 00011 #include "ShowNumbersButton.h" 00012 #include "UpdateInfoButton.h" 00013 #include "GridCtrl/GridCtrl.h" 00014 // ToolBarProperties.h : header file 00015 // 00016 00018 // CPropertiesToolBar window 00019 00020 class CPropertiesToolBar : public CToolBar 00021 { 00022 // Construction 00023 public: 00024 CPropertiesToolBar(); 00025 00026 // Attributes 00027 public: 00028 CStatic m_stcName; 00029 CStatic m_stcCaption; 00030 CStatic m_stcObjList; 00031 CStatic m_stcType; 00032 00033 CStatic m_stcPosX; 00034 CStatic m_stcPosY; 00035 CStatic m_stcWidth; 00036 CStatic m_stcHeight; 00037 00038 CEdit m_edtPosX; 00039 CEdit m_edtPosY; 00040 CEdit m_edtWidth; 00041 CEdit m_edtHeight; 00042 00043 CGridCtrl m_grdObjList; 00044 // CObjectInfoEdit m_edtInfo; 00045 00046 CObjectNameEdit m_edtName; 00047 CObjectCaptionEdit m_edtCaption; 00048 CObjectTypeComboBox m_cmbType; 00049 00050 CShowNumbersButton m_btnShowNumbers; 00051 CUpdateInfoButton m_btnUpdateInfo; 00052 00053 00054 // Operations 00055 public: 00056 00057 // Overrides 00058 // ClassWizard generated virtual function overrides 00059 //{{AFX_VIRTUAL(CPropertiesToolBar) 00060 //}}AFX_VIRTUAL 00061 00062 // Implementation 00063 public: 00064 virtual ~CPropertiesToolBar(); 00065 00066 // Generated message map functions 00067 protected: 00068 //{{AFX_MSG(CPropertiesToolBar) 00069 afx_msg void OnLButtonDown(UINT nFlags, CPoint point); 00070 afx_msg BOOL OnEraseBkgnd(CDC* pDC); 00071 //}}AFX_MSG 00072 00073 DECLARE_MESSAGE_MAP() 00074 }; 00075 00077 00078 //{{AFX_INSERT_LOCATION}} 00079 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 00080 00081 #endif // !defined(AFX_PTOOLBAR_H__347EDC1E_714A_4AC4_9467_E61B570C3FE7__INCLUDED_)