root/trunk/ElephantMessageBoxYesNo.h

Revision 5, 1.4 kB (checked in by qbert, 6 years ago)

Initial ( and last :( ) commit

Line 
1 #if !defined(AFX_ELEPHANTMESSAGEBOXYESNO_H__627A63FE_6BFB_4DC1_A2B5_869B6E63CC1B__INCLUDED_)
2 #define AFX_ELEPHANTMESSAGEBOXYESNO_H__627A63FE_6BFB_4DC1_A2B5_869B6E63CC1B__INCLUDED_
3
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // ElephantMessageBoxYesNo.h : header file
8 //
9
10 /////////////////////////////////////////////////////////////////////////////
11 // CElephantMessageBoxYesNo dialog
12 #include "resource.h"
13 class CElephantMessageBoxYesNo : public CDialog
14 {
15 // Construction
16 public:
17     CElephantMessageBoxYesNo(CWnd* pParent = NULL);   // standard constructor
18
19 // Dialog Data
20     //{{AFX_DATA(CElephantMessageBoxYesNo)
21     enum { IDD = IDD_YESNO_MSG_BOX };
22     CXTButton   m_no;
23     CXTButton   m_yes;
24     CString m_text;
25     //}}AFX_DATA
26     void SetMsg(const string& text);
27
28 // Overrides
29     // ClassWizard generated virtual function overrides
30     //{{AFX_VIRTUAL(CElephantMessageBoxYesNo)
31     protected:
32     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
33     //}}AFX_VIRTUAL
34
35 // Implementation
36 protected:
37
38     // Generated message map functions
39     //{{AFX_MSG(CElephantMessageBoxYesNo)
40     virtual BOOL OnInitDialog();
41     afx_msg void OnYes();
42     afx_msg void OnButton2();
43     //}}AFX_MSG
44     DECLARE_MESSAGE_MAP()
45 };
46
47 //{{AFX_INSERT_LOCATION}}
48 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
49
50 #endif // !defined(AFX_ELEPHANTMESSAGEBOXYESNO_H__627A63FE_6BFB_4DC1_A2B5_869B6E63CC1B__INCLUDED_)
Note: See TracBrowser for help on using the browser.