-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathHTTPStatusCodeFilterDlg.h
42 lines (31 loc) · 1.02 KB
/
HTTPStatusCodeFilterDlg.h
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
// aboutdlg.h : interface of the CAboutDlg class
//
/////////////////////////////////////////////////////////////////////////////
#pragma once
#include "SettingsStorage.h"
class CHTTPStatusCodeFilterDlg :
public CPropertyPageImpl<CHTTPStatusCodeFilterDlg>,
public CWinDataExchange<CHTTPStatusCodeFilterDlg>
{
public:
CHTTPStatusCodeFilterDlg();
enum { IDD = IDD_FILTERHTTPCODES };
// Message handlers
BOOL OnInitDialog ( HWND hwndFocus, LPARAM lParam );
// Property page notification handlers
int OnApply();
BEGIN_MSG_MAP(CHTTPStatusCodeFilterDlg )
MSG_WM_INITDIALOG(OnInitDialog)
CHAIN_MSG_MAP(CPropertyPageImpl<CHTTPStatusCodeFilterDlg>)
END_MSG_MAP()
BEGIN_DDX_MAP(CHTTPStatusCodeFilterDlg)
DDX_CONTROL_HANDLE(IDC_LIST_FILTER_CODES, m_wndList)
//DDX_RADIO(IDC_BLUE, m_nColor)
//DDX_RADIO(IDC_ALYSON, m_nPicture)
END_DDX_MAP()
private:
CListViewCtrl m_wndList;
SettingsStorage& m_settings;
void PopulateList();
void SaveSettings();
};