1 #if !defined(AFX_RESULTDIALOG_H__6597303D_7F5B_11D5_BA4D_0060B0EE18EA__INCLUDED_)
2 #define AFX_RESULTDIALOG_H__6597303D_7F5B_11D5_BA4D_0060B0EE18EA__INCLUDED_
6 #endif // _MSC_VER > 1000
7 // ResultDialog.h : header file
12 /////////////////////////////////////////////////////////////////////////////
13 // CResultDialog dialog
15 class CResultDialog : public CDialog
20 CResultDialog(CWnd* pParent = NULL); // standard constructor
21 void SetTitle(LPCSTR aTitle);
22 void SetText(LPCSTR aText);
26 //{{AFX_DATA(CResultDialog)
27 enum { IDD = IDD_ResultDialog };
28 // NOTE: the ClassWizard will add data members here
33 // ClassWizard generated virtual function overrides
34 //{{AFX_VIRTUAL(CResultDialog)
36 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
37 virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
43 // Generated message map functions
44 //{{AFX_MSG(CResultDialog)
45 afx_msg void OnCopySelectionToClipboard();
46 afx_msg void OnCopyAllToClipboard();
47 virtual void OnCancel();
49 // OnSize is a message handler of WM_SIZE messge,
50 // it is reimplemented in order to reposition the buttons
51 // (keep them always in the bottom part of the dialog)
52 // and resize the rich edit controls as user resized THIS dialog.
53 afx_msg void OnSize(UINT nType, int cx, int cy);
59 int bw, bh; // button width and height
63 //{{AFX_INSERT_LOCATION}}
64 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
66 #endif // !defined(AFX_RESULTDIALOG_H__6597303D_7F5B_11D5_BA4D_0060B0EE18EA__INCLUDED_)