#pragma once
|
#include "HmVerticalTab.h"
|
#include "SetPage1.h"
|
#include "SetPage2.h"
|
|
|
// CSettingsDlg ¶Ô»°¿ò
|
|
class CSettingsDlg : public CDialogEx
|
{
|
DECLARE_DYNAMIC(CSettingsDlg)
|
|
public:
|
CSettingsDlg(CWnd* pParent = NULL); // ±ê×¼¹¹Ô캯Êý
|
virtual ~CSettingsDlg();
|
|
|
private:
|
void Resize();
|
void ShowChildPage(unsigned int index);
|
|
private:
|
COLORREF m_crBkgnd;
|
HBRUSH m_hbrBkgnd;
|
CHmVerticalTab* m_pTab;
|
BOOL m_bInit;
|
|
|
// ¶Ô»°¿òÊý¾Ý
|
#ifdef AFX_DESIGN_TIME
|
enum { IDD = IDD_DIALOG_SETTINGS };
|
#endif
|
|
protected:
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Ö§³Ö
|
|
DECLARE_MESSAGE_MAP()
|
public:
|
virtual BOOL OnInitDialog();
|
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
|
afx_msg void OnDestroy();
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
afx_msg void OnTabSelChanged(NMHDR* nmhdr, LRESULT* result);
|
afx_msg void OnBnClickedButtonApply();
|
afx_msg void OnBnClickedOk();
|
afx_msg LRESULT OnPageModify(WPARAM wParam, LPARAM lParam);
|
};
|