CBFramedModelessDialog.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 
10 #define CBFRAMEDMODELESSDIALOG_H
11 
12 // BFramedModelessDialog.h : header file
13 //
14 
15 #include "CBModelessDialog.h"
16 #include "CBModelessFrame.h"
17 
18 // Bentley defines & includes
19 //
20 #if !defined (winNT)
21 #define winNT
22 #endif
23 
24 #define NO_BOOLEAN_TYPE
25 
26 // Disable warning messages 4266 - no override available for virtual member function from base 'type'; function is hidden
27 #pragma warning( disable : 4266 )
28 
30 // CBFramedModelessDialog dialog
31 //
32 // CBFramedModelessDialog is the base class for any MicroStation modeless dialog
33 // outside of Tool Settings which is not dockable.
34 //
35 
37 {
38 protected:
39 
41 
42 
43 // Construction
44 public:
46  (
47  UINT nID,
48  TCHAR *pTitle = _T(""),
49  bool bResizeable = true,
50  int iDefaultWidth = 400,
51  int iDefaultHeight = 200
52  );
53 
54  virtual ~CBFramedModelessDialog();
55 
56  virtual StatusInt Create();
57  virtual StatusInt Close();
58 
59 // Dialog Data
60  //{{AFX_DATA(CBFramedModelessDialog)
61  // NOTE: the ClassWizard will add data members here
62  //}}AFX_DATA
63 
64 
65 // Overrides
66  // ClassWizard generated virtual function overrides
67  //{{AFX_VIRTUAL(CBFramedModelessDialog)
68  protected:
69  //}}AFX_VIRTUAL
70 
71 // Implementation
72 protected:
73 
74  // Generated message map functions
75  //{{AFX_MSG(CBFramedModelessDialog)
76  virtual BOOL OnInitDialog();
77  afx_msg void OnDestroy();
78  //}}AFX_MSG
79  DECLARE_MESSAGE_MAP()
80 };
81 
82 //{{AFX_INSERT_LOCATION}}
83 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
84 
afx_msg void OnDestroy()
virtual BOOL OnInitDialog()
virtual StatusInt Close()
Definition: CBModelessDialog.h:44
int StatusInt
Definition: Bentley.h:222
virtual StatusInt Create()
CBFramedModelessDialog(UINT nID, TCHAR *pTitle=_T(""), bool bResizeable=true, int iDefaultWidth=400, int iDefaultHeight=200)
Definition: CBFramedModelessDialog.h:36
virtual ~CBFramedModelessDialog()
bool m_bResizeable
Definition: CBFramedModelessDialog.h:40

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.