-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDontShowAgainDialog.cpp
More file actions
39 lines (26 loc) · 899 Bytes
/
DontShowAgainDialog.cpp
File metadata and controls
39 lines (26 loc) · 899 Bytes
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
// DontShowAgainDialog.cpp : implementation file
//
#include "stdafx.h"
#include "SCIPicEditor.h"
#include "DontShowAgainDialog.h"
// CDontShowAgainDialog dialog
CDontShowAgainDialog::CDontShowAgainDialog(PCTSTR pszMessage, int &iValue, CWnd* pParent /*=NULL*/)
: CExtResizableDialog(CDontShowAgainDialog::IDD, pParent), _iValue(iValue)
{
_pszMessage = pszMessage;
}
CDontShowAgainDialog::~CDontShowAgainDialog()
{
}
void CDontShowAgainDialog::DoDataExchange(CDataExchange* pDX)
{
__super::DoDataExchange(pDX);
DDX_Check(pDX, IDC_DONTSHOWAGAIN, _iValue);
DDX_Control(pDX, IDC_MESSAGE, m_wndStaticMessage);
m_wndStaticMessage.SetWindowText(_pszMessage);
DDX_Control(pDX, IDOK, m_wndOK);
DDX_Control(pDX, IDC_DONTSHOWAGAIN, m_wndDontShow);
}
BEGIN_MESSAGE_MAP(CDontShowAgainDialog, CExtResizableDialog)
END_MESSAGE_MAP()
// CDontShowAgainDialog message handlers