#if !defined(AFX_CELLDIALOG_H__181855BB_DAF5_4982_A833_586FA3731949__INCLUDED_) #define AFX_CELLDIALOG_H__181855BB_DAF5_4982_A833_586FA3731949__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // CellDialog.h : header file // #include "CellPropDlg.h" class CCellDialog : public CCellPropDlg { public: void Obj2Dlg(const TDbSheet *pSheet, int nRow, int nCol); // void Dlg2Obj(TDbSheet *pSheet, int nRow, int nCol) const; // Construction public: CCellDialog(CWnd* pParent = NULL); // standard constructor //add by whl CToolBar m_toolbar; afx_msg BOOL OnToolTipText(UINT nID, NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnChar(UINT nID); virtual BOOL OnInitDialog(); BOOL GetPosition(int& h, int& l); // Dialog Data //{{AFX_DATA(CCellDialog) enum { IDD = IDD_CELLEDIT }; CString m_csText; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CCellDialog) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CCellDialog) //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_CELLDIALOG_H__181855BB_DAF5_4982_A833_586FA3731949__INCLUDED_)