00001 #if !defined(AFX_COLUMNSDIALOG_H__575E4EA1_EF78_4BBE_ADB5_88F3F6599AD3__INCLUDED_) 00002 #define AFX_COLUMNSDIALOG_H__575E4EA1_EF78_4BBE_ADB5_88F3F6599AD3__INCLUDED_ 00003 00004 #include "GridCtrl/GridCtrl.h" 00005 #if _MSC_VER > 1000 00006 #pragma once 00007 #endif // _MSC_VER > 1000 00008 // ColumnsDialog.h : header file 00009 // 00010 00012 // CColumnsDialog dialog 00013 00014 class CColumnsDialog : public CDialog 00015 { 00016 // Construction 00017 public: 00018 CColumnsDialog(CWnd* pParent = NULL); // standard constructor 00019 00020 // Dialog Data 00021 //{{AFX_DATA(CColumnsDialog) 00022 enum { IDD = IDD_DIALOG_COLUMNS }; 00023 CListBox m_lbColumns; 00024 CString m_strColName; 00025 //}}AFX_DATA 00026 00027 CGridCtrl * m_pGrid; 00028 00029 CWnd * m_pParent; 00030 CRect m_wndRect; 00031 int m_nColCount; 00032 00033 00034 // Overrides 00035 // ClassWizard generated virtual function overrides 00036 //{{AFX_VIRTUAL(CColumnsDialog) 00037 protected: 00038 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 00039 //}}AFX_VIRTUAL 00040 00041 // Implementation 00042 protected: 00043 00044 // Generated message map functions 00045 //{{AFX_MSG(CColumnsDialog) 00046 virtual BOOL OnInitDialog(); 00047 afx_msg void OnButtonAddcolumn(); 00048 afx_msg void OnButtonRemcolumn(); 00049 afx_msg void OnChangeEditColname(); 00050 afx_msg void OnSelchangeListColumns(); 00051 afx_msg void OnButtonAddnewcolumn(); 00052 //}}AFX_MSG 00053 DECLARE_MESSAGE_MAP() 00054 }; 00055 00056 //{{AFX_INSERT_LOCATION}} 00057 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 00058 00059 #endif // !defined(AFX_COLUMNSDIALOG_H__575E4EA1_EF78_4BBE_ADB5_88F3F6599AD3__INCLUDED_)