-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathWarningDlg.h
47 lines (30 loc) · 1013 Bytes
/
WarningDlg.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
43
44
45
// *****************************************************************************
//
// Copyright (c) 2007, Pleora Technologies Inc., All rights reserved.
//
// *****************************************************************************
#pragma once
#include "resource.h"
class WarningDlg : public CDialog
{
DECLARE_DYNAMIC(WarningDlg)
public:
WarningDlg(CWnd* pParent = NULL); // standard constructor
virtual ~WarningDlg();
void SetWarning( const CString &aWarning );
void SetCheckboxMessage( const CString &aMessage );
bool IsChecked() { return mChecked; }
enum { IDD = IDD_NO_DRIVER };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
afx_msg void OnBnClickedOk();
afx_msg void OnBnClickedDontShowAgain();
CButton mDontShowAgainCheck;
CStatic mWarningMessage;
private:
bool mChecked;
CString mWarningMsg;
CString mCheckboxMsg;
};