LAPTOP-SNT8I5JK\Boounion
2025-07-28 bfe14e41fa5b07771d78af4511ba18d706bc23cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#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);
};