summaryrefslogtreecommitdiff
path: root/NSCmpts/TempWarnDlg.h
blob: 1c007b287bb08a271568b68db925747ea9038403 (plain)
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
// TempWarnDlg.h : Declaration of the CTempWarnDlg

#ifndef __TEMPWARNDLG_H_
#define __TEMPWARNDLG_H_

#include "resource.h"       // main symbols
#include <mystring.h>

/////////////////////////////////////////////////////////////////////////////
// CTempWarnDlg
class CTempWarnDlg : 
	public CDialogImplEx
//	public CDialogImpl<CTempWarnDlg>
{
public:
	CTempWarnDlg(const string& sFolderName);
	~CTempWarnDlg();

	enum { IDD = IDD_TEMPWARNDLG };

BEGIN_MSG_MAP(CTempWarnDlg)
	MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
	COMMAND_ID_HANDLER(IDOK, OnOK)
	COMMAND_ID_HANDLER(IDCANCEL, OnCancel)
END_MSG_MAP()

	LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
	LRESULT OnOK(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
	LRESULT OnCancel(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);

	string m_sFolderName;
	bool m_bNotAgain;
};

#endif //__TEMPWARNDLG_H_