57 lines
1.1 KiB
C++
57 lines
1.1 KiB
C++
//
|
|
// This class defines custom modal property sheet
|
|
|
|
|
|
#ifndef __COLUMNPROP_H__
|
|
#define __COLUMNPROP_H__
|
|
|
|
#include "ColGridStyle.h"
|
|
#include "ColumnDividerPage.h"
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CColumnProp
|
|
|
|
class CColumnProp : public CPropertySheet
|
|
{
|
|
DECLARE_DYNAMIC(CColumnProp)
|
|
|
|
// Construction
|
|
public:
|
|
CColumnProp(CWnd* pWndParent = NULL);
|
|
void Obj2Dlg(const TDbSheet &sheet, int nCol);
|
|
void Dlg2Obj(TDbSheet &sheet, int nColFrom, int nColTo) const;
|
|
|
|
// Attributes
|
|
public:
|
|
static int g_nActivePage;
|
|
CColGridStylePage m_gridStyle;
|
|
CColumnDividerPage m_dividerStyle;
|
|
|
|
// Operations
|
|
public:
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CColumnProp)
|
|
public:
|
|
virtual BOOL OnInitDialog();
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
public:
|
|
virtual ~CColumnProp();
|
|
|
|
// Generated message map functions
|
|
protected:
|
|
//{{AFX_MSG(CColumnProp)
|
|
afx_msg void OnDestroy();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#endif //
|