0031939: Coding - correction of spelling errors in comments [part 2]
[occt.git] / samples / mfc / standard / 10_Convert / src / WNT / ResultDialog.h
1 #if !defined(AFX_RESULTDIALOG_H__6597303D_7F5B_11D5_BA4D_0060B0EE18EA__INCLUDED_)
2 #define AFX_RESULTDIALOG_H__6597303D_7F5B_11D5_BA4D_0060B0EE18EA__INCLUDED_
3
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // ResultDialog.h : header file
8 //
9
10 #include "resource.h"
11 #include <res\\OCC_Resource.h>
12
13 /////////////////////////////////////////////////////////////////////////////
14 // CResultDialog dialog
15
16 class CResultDialog : public CDialog
17 {
18 // Construction
19 public:
20         void Initialize();
21         CResultDialog(CWnd* pParent = NULL);   // standard constructor
22         void SetTitle(LPCSTR aTitle);
23         void SetText(LPCSTR aText);
24         void Empty();
25
26 // Dialog Data
27         //{{AFX_DATA(CResultDialog)
28         enum { IDD = IDD_ResultDialog };
29                 // NOTE: the ClassWizard will add data members here
30         //}}AFX_DATA
31
32
33 // Overrides
34         // ClassWizard generated virtual function overrides
35         //{{AFX_VIRTUAL(CResultDialog)
36         protected:
37         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
38         virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
39         //}}AFX_VIRTUAL
40
41 // Implementation
42 protected:
43
44   // Generated message map functions
45         //{{AFX_MSG(CResultDialog)
46         afx_msg void OnCopySelectionToClipboard();
47         afx_msg void OnCopyAllToClipboard();
48         virtual void OnCancel();
49
50   // OnSize is a message handler of WM_SIZE message,
51   // it is reimplemented in order to reposition the buttons
52   // (keep them always in the bottom part of the dialog)
53   // and resize the rich edit controls as user resized THIS dialog.
54         afx_msg void OnSize(UINT nType, int cx, int cy);
55         //}}AFX_MSG
56
57         DECLARE_MESSAGE_MAP()
58
59 private:
60   int bw, bh; // button width and height
61
62 };
63
64 //{{AFX_INSERT_LOCATION}}
65 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
66
67 #endif // !defined(AFX_RESULTDIALOG_H__6597303D_7F5B_11D5_BA4D_0060B0EE18EA__INCLUDED_)