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
| #pragma once
| #include "afxdialogex.h"
|
|
| #define ID_MSG_PAGE_MODIFY WM_USER + 1278
|
| class CBaseSetPage :
| public CDialogEx
| {
| public:
| CBaseSetPage(UINT nIDTemplate, CWnd *pParent = NULL);
| ~CBaseSetPage();
|
| public:
| virtual void OnApply();
| virtual void OnModify();
|
| private:
| COLORREF m_crBkgnd;
| HBRUSH m_hbrBkgnd;
|
| public:
| DECLARE_MESSAGE_MAP()
| afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
| };
|
|