CBToolSettingsDialog.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 #if !defined(CBTOOLSETTINGSDIALOG_H)
11 #define CBTOOLSETTINGSDIALOG_H
12 
13 // CBToolSettingsDialog.h : header file
14 //
15 
16 #include "CBModelessDialog.h"
17 
18 // Disable warning messages 4266 - no override available for virtual member function from base 'type'; function is hidden
19 #pragma warning( disable : 4266 )
20 
22 // CBToolSettingsDialog dialog
23 //
24 // CBToolSettingsDialog is the base class for any dialog to be used inside MicroStation's Tool Settings window.
25 //
26 
28 {
29 private:
30 
31 protected:
32 
33 // Construction
34 public:
36  (
37  UINT nID
38  );
39 
40  virtual ~CBToolSettingsDialog();
41 
42  virtual StatusInt Create();
43 
44  virtual StatusInt CloseContent();
45 
46 // Dialog Data
47  //{{AFX_DATA(CBToolSettingsDialog)
48  //}}AFX_DATA
49 
50 
51 // Overrides
52  // ClassWizard generated virtual function overrides
53  //{{AFX_VIRTUAL(CBToolSettingsDialog)
54  protected:
55  //}}AFX_VIRTUAL
56 
57 // Implementation
58 protected:
59 
60  // Generated message map functions
61  //{{AFX_MSG(CBToolSettingsDialog)
62  virtual BOOL OnInitDialog();
63  //}}AFX_MSG
64  DECLARE_MESSAGE_MAP()
65 };
66 
67 //{{AFX_INSERT_LOCATION}}
68 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
69 
70 #endif // !defined(CBTOOLSETTINGSDIALOG_H)
virtual StatusInt CloseContent()
CBToolSettingsDialog(UINT nID)
Definition: CBModelessDialog.h:44
int StatusInt
Definition: Bentley.h:222
virtual ~CBToolSettingsDialog()
virtual StatusInt Create()
Definition: CBToolSettingsDialog.h:27
virtual BOOL OnInitDialog()

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