62 lines
1.2 KiB
C++
62 lines
1.2 KiB
C++
#if !defined(__DIVIDER_PAGE_H)
|
|
#define __DIVIDER_PAGE_H
|
|
|
|
// DividerPage.h : header file
|
|
//
|
|
|
|
class TDividerStyle;
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CDividerPage dialog
|
|
|
|
class CDividerPage : public CPropertyPage
|
|
{
|
|
DECLARE_DYNCREATE(CDividerPage)
|
|
protected:
|
|
DList<XString> m_lstLineWidths;
|
|
DList<XString> m_lstLinetypes;
|
|
Adesk::UInt16 m_nLineColor;
|
|
|
|
void InitComBox(CComboBox& combox, const DList<XString> &lstString);
|
|
// Construction
|
|
public:
|
|
CDividerPage() {};
|
|
CDividerPage(UINT id);
|
|
~CDividerPage();
|
|
|
|
void Obj2Dlg(const TDividerStyle &style);
|
|
void Dlg2Obj(TDividerStyle &style) const;
|
|
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CDividerPage)
|
|
CComboBox m_lineWidthBox;
|
|
CComboBox m_divLinetypeBox;
|
|
CAcUiColorComboBox m_divColorBox;
|
|
BOOL m_bNoDivider;
|
|
CString m_divLineWidth;
|
|
int m_nLTItem;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generate virtual function overrides
|
|
//{{AFX_VIRTUAL(CDividerPage)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CDividerPage)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnNoDivider();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
};
|
|
|
|
|
|
#endif
|