#if !defined(AFX_ROWPROPPAGE_H__FE8EE2EA_8CE3_4498_ABC3_8B1B5568ACE6__INCLUDED_) #define AFX_ROWPROPPAGE_H__FE8EE2EA_8CE3_4498_ABC3_8B1B5568ACE6__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // RowPropPage.h : header file // #include "DividerPage.h" ///////////////////////////////////////////////////////////////////////////// // CRowPropPage dialog class CRowPropPage : public CDividerPage { DECLARE_DYNCREATE(CRowPropPage) protected: DList m_lstVerModes; DList m_lstRowHeightModes; TDividerStyle m_parentDivider; TSheetRow::TRowHeightStyle m_parentRowHeightStyle; // Construction public: CRowPropPage(); ~CRowPropPage(); void Obj2Dlg(const TSheetRow &row, const TDividerStyle &styleParent, const TGridStyle &parentGrid, const TDbSheet &sheet); void Dlg2Obj(TSheetRow &row) const; // Dialog Data //{{AFX_DATA(CRowPropPage) enum { IDD = IDD_ROW_DIVIDER }; CComboBox m_verModeBox; CComboBox m_rowHeightBox; int m_nRowFlagItem; CString m_csRowHeight; BOOL m_bInheritSheet; int m_nVerMode; BOOL m_bApplyDescend; //}}AFX_DATA // Overrides // ClassWizard generate virtual function overrides //{{AFX_VIRTUAL(CRowPropPage) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CRowPropPage) afx_msg void OnInheritSheetrow(); virtual BOOL OnInitDialog(); afx_msg void OnSelendokRowflag(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; class CRowProp : public CPropertySheet { DECLARE_DYNAMIC(CRowProp) // Construction public: CRowProp(CWnd* pWndParent = NULL); void Obj2Dlg(const TDbSheet &sheet, int nRow); void Dlg2Obj(TDbSheet &sheet, int nRowFrom, int nRowTo) const; // Attributes public: static int g_nActivePage; CRowPropPage m_rowPage; // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CRowProp) public: virtual BOOL OnInitDialog(); //}}AFX_VIRTUAL // Implementation public: virtual ~CRowProp(); // Generated message map functions protected: //{{AFX_MSG(CRowProp) afx_msg void OnDestroy(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_ROWPROPPAGE_H__FE8EE2EA_8CE3_4498_ABC3_8B1B5568ACE6__INCLUDED_)