0031456: Visualization - move out Dimensions and Relations from package AIS to PrsDims
[occt.git] / samples / mfc / standard / Common / ResultDialog.h
1 // ResultDialog.h :  header file
2 //
3
4 #if !defined(AFX_RESULTDIALOG_H__0307BDF3_AF53_11D1_8DAE_0800369C8A03__INCLUDED_)
5 #define AFX_RESULTDIALOG_H__0307BDF3_AF53_11D1_8DAE_0800369C8A03__INCLUDED_
6
7 #if _MSC_VER >= 1000
8 #pragma once
9 #endif // _MSC_VER >= 1000
10
11 #include <stdafx.h>
12
13 #include "res\OCC_Resource.h"
14 #include <Standard_Macro.hxx>
15
16 /////////////////////////////////////////////////////////////////////////////
17 // CResultDialog dialog
18
19 class Standard_EXPORT CResultDialog : public CDialog
20 {
21
22 public:
23         CResultDialog(CWnd* pParent = NULL);
24         void SetTitle(const CString& aTitle);
25         void SetText(const CString& aText);
26         void GetText(CString& aText);
27         void Empty();
28
29 // Dialog Data
30         //{{AFX_DATA(CResultDialog)
31         enum { IDD = IDD_ResultDialog };
32                 // NOTE: the ClassWizard will add data members here
33         //}}AFX_DATA
34
35 // Overrides
36         // ClassWizard generated virtual function overrides
37         //{{AFX_VIRTUAL(CResultDialog)
38         protected:
39         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
40         //}}AFX_VIRTUAL
41
42 // Implementation
43 protected:
44
45         // Generated message map functions
46         //{{AFX_MSG(CResultDialog)
47         virtual BOOL OnInitDialog();
48         afx_msg void OnCopySelectionToClipboard();
49         afx_msg void OnCopyAllToClipboard();
50         //}}AFX_MSG
51         DECLARE_MESSAGE_MAP()
52
53 //Attributes
54 private:
55         CRichEditCtrl * pEd;
56 };
57
58 //{{AFX_INSERT_LOCATION}}
59 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
60
61 #endif // !defined(AFX_RESULTDIALOG_H__0307BDF3_AF53_11D1_8DAE_0800369C8A03__INCLUDED_)