2019-07-27 22:44:32 +08:00
|
|
|
|
#pragma once
|
2014-11-19 00:25:21 +08:00
|
|
|
|
#include "afxwin.h"
|
|
|
|
|
|
|
|
|
|
|
2019-07-27 22:44:32 +08:00
|
|
|
|
// COptionOnClose 对话框
|
2014-11-19 00:25:21 +08:00
|
|
|
|
|
|
|
|
|
class COptionOnClose : public CDialog
|
|
|
|
|
{
|
|
|
|
|
DECLARE_DYNCREATE(COptionOnClose)
|
|
|
|
|
|
|
|
|
|
public:
|
2019-07-27 22:44:32 +08:00
|
|
|
|
COptionOnClose(CWnd* pParent = NULL); // 标准构造函数
|
2014-11-19 00:25:21 +08:00
|
|
|
|
virtual ~COptionOnClose();
|
|
|
|
|
|
|
|
|
|
void init(BOOL QuitOnClose);
|
|
|
|
|
|
2019-07-27 22:44:32 +08:00
|
|
|
|
// 对话框数据
|
2014-11-19 00:25:21 +08:00
|
|
|
|
enum { IDD = IDD_DIALOG_QUIT};
|
|
|
|
|
|
|
|
|
|
protected:
|
2019-07-27 22:44:32 +08:00
|
|
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
2014-11-19 00:25:21 +08:00
|
|
|
|
virtual BOOL OnInitDialog();
|
|
|
|
|
|
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
BOOL m_QuitClose;
|
|
|
|
|
BOOL m_MinOnClose;
|
|
|
|
|
BOOL m_SaveOption;
|
|
|
|
|
};
|