1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2010 Winch Gate Property Limited
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #if !defined(AFX_SKIPPABLE_MESSAGE_BOX_H__3311E633_C1A9_4994_9054_94094A8219B5__INCLUDED_)
18 #define AFX_SKIPPABLE_MESSAGE_BOX_H__3311E633_C1A9_4994_9054_94094A8219B5__INCLUDED_
22 #endif // _MSC_VER > 1000
23 // skippable_message_box.h : header file
26 /////////////////////////////////////////////////////////////////////////////
27 // CSkippableMessageBox dialog
30 // A skippabmle message box with user contenyt & caption
31 // The user can check an option to not see the dialog again
32 // this can be querried by calling 'getBypassFlag'
33 class CSkippableMessageBox
: public CDialog
37 CSkippableMessageBox(const CString
&caption
, const CString
&content
, CWnd
* pParent
= NULL
); // standard constructor
40 //{{AFX_DATA(CSkippableMessageBox)
41 enum { IDD
= IDD_SKIPPABLE_MESSAGE_BOX
};
42 // NOTE: the ClassWizard will add data members here
45 // Test whether the user has checked the 'don't show again' check box
46 bool getBypassFlag() const { return _BypassFlag
; }
49 // ClassWizard generated virtual function overrides
50 //{{AFX_VIRTUAL(CSkippableMessageBox)
52 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
60 // Generated message map functions
61 //{{AFX_MSG(CSkippableMessageBox)
62 virtual BOOL
OnInitDialog();
68 //{{AFX_INSERT_LOCATION}}
69 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
71 #endif // !defined(AFX_SKIPPABLE_MESSAGE_BOX_H__3311E633_C1A9_4994_9054_94094A8219B5__INCLUDED_)