draftids.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 #ifndef __draftidsH__
10 #define __draftidsH__
11 #include <Mstn\MdlApi\dlogids.r.h>
12 
13 /*----------------------------------------------------------------------+
14 | |
15 | Dialog Box IDs |
16 | |
17 +----------------------------------------------------------------------*/
18 #define DIALOGID_DraftDialogsBegin (-400)
19 #define BASEID_Draft (DIALOGID_DraftDialogsBegin * 100)
20 #define TOOLBOXID_DraftSmartToolBar TOOLBOXID_Primary
21 #define TOOLBOXID_DraftMain TOOLBOXID_Main
22 
23 #define DIALOGID_DraftMainFrame TOOLBOXID_DraftMain
24 
25 #define ICONCMDFRAMEID_DraftMain ICONCMDFRAMEID_MainToolBox
26 
27 #define BASEID_DraftStdToolBar BASEID_PrimaryToolBar
28 #define DIALOGID_DraftCommandStatus DIALOGID_CommandStatus
29 #define DIALOGID_DraftDOSMenuBar DIALOGID_DOSMenuBar
30 #define BASEID_DraftCommandStatus BASEID_CommandStatus
31 #define HOOKDIALOGID_DraftMBarDialogHook HOOKDIALOGID_MBarDialogHook
32 
33 /*----------------------------------------------------------------------+
34 | |
35 | Menu Bar IDs |
36 | |
37 +----------------------------------------------------------------------*/
38 #define MENUBARID_DraftMain (BASEID_Draft - 1)
39 
40 /*----------------------------------------------------------------------+
41 | |
42 | Pulldown Menu IDs |
43 | |
44 | These are the pulldown menu ids that were initially defined for |
45 | the first PowerDraft release - 5.5.0.5 |
46 | |
47 +----------------------------------------------------------------------*/
48 #define PULLDOWNMENUID_Draft_File (BASEID_Draft - 1)
49 #define PULLDOWNMENUID_Draft_Edit (BASEID_Draft - 3)
50 #define PULLDOWNMENUID_Draft_Settings (BASEID_Draft - 4)
51 #define PULLDOWNMENUID_Draft_Element (BASEID_Draft - 6)
52 #define PULLDOWNMENUID_Draft_Workspace (BASEID_Draft - 7)
53 #define PULLDOWNMENUID_Draft_SubOpenClose (BASEID_Draft - 8)
54 #define PULLDOWNMENUID_Draft_SubRender (BASEID_Draft - 9)
55 #define PULLDOWNMENUID_Draft_Tools (BASEID_Draft - 11)
56 #define PULLDOWNMENUID_Draft_SubTag (BASEID_Draft - 13)
57 #define PULLDOWNMENUID_Draft_Help (BASEID_Draft - 15)
58 #define PULLDOWNMENUID_Draft_SubImage (BASEID_Draft - 16)
59 #define PULLDOWNMENUID_Draft_SubImportExport (BASEID_Draft - 17)
60 #define PULLDOWNMENUID_Draft_Window (BASEID_Draft - 19)
61 #define PULLDOWNMENUID_Draft_SubLocks (BASEID_Draft - 20)
62 #define PULLDOWNMENUID_Draft_SubLevel (BASEID_Draft - 23)
63 
64 #define MENUSEARCHID_Draft_File_ImportExport 61
65 
66 /*----------------------------------------------------------------------+
67 | |
68 | Bridge Pulldown Menu IDs |
69 | |
70 | MicroStation 95, V5, and subsequent releases of MicroStation |
71 | PowerDraft now use the same #defines for menu resource IDs. The |
72 | following #defines allow source-code compatible applications to be |
73 | written for both MicroStation 95 and MicroStation PowerDraft. |
74 | Remember that this header file should only be #included when |
75 | building for PowerDraft. |
76 | |
77 | Applications that do not dynamically modify pulldown menus do not |
78 | need to be concerned with this header file. |
79 | |
80 +----------------------------------------------------------------------*/
81 #undef MENUBARID_Main
82 #define MENUBARID_Main (MENUBARID_DraftMain)
83 
84 #undef PULLDOWNMENUID_File
85 #define PULLDOWNMENUID_File (PULLDOWNMENUID_Draft_File)
86 
87 #undef PULLDOWNMENUID_Edit
88 #define PULLDOWNMENUID_Edit (PULLDOWNMENUID_Draft_Edit)
89 
90 #undef PULLDOWNMENUID_Settings
91 #define PULLDOWNMENUID_Settings (PULLDOWNMENUID_Draft_Settings)
92 
93 #undef PULLDOWNMENUID_Element
94 #define PULLDOWNMENUID_Element (PULLDOWNMENUID_Draft_Element)
95 
96 #undef PULLDOWNMENUID_Workspace
97 #define PULLDOWNMENUID_Workspace (PULLDOWNMENUID_Draft_Workspace)
98 
99 #undef PULLDOWNMENUID_SubOpenClose
100 #define PULLDOWNMENUID_SubOpenClose (PULLDOWNMENUID_Draft_SubOpenClose)
101 
102 #undef PULLDOWNMENUID_SubRender
103 #define PULLDOWNMENUID_SubRender (PULLDOWNMENUID_Draft_SubRender)
104 
105 #undef PULLDOWNMENUID_Utilities
106 #define PULLDOWNMENUID_Utilities (PULLDOWNMENUID_Draft_Tools)
107 
108 #undef PULLDOWNMENUID_SubTag
109 #define PULLDOWNMENUID_SubTag (PULLDOWNMENUID_Draft_SubTag)
110 
111 #undef PULLDOWNMENUID_SubImportExport
112 #define PULLDOWNMENUID_SubImportExport (PULLDOWNMENUID_Draft_SubImportExport)
113 
114 #undef PULLDOWNMENUID_Window
115 #define PULLDOWNMENUID_Window (PULLDOWNMENUID_Draft_Window)
116 
117 #undef PULLDOWNMENUID_SubLocks
118 #define PULLDOWNMENUID_SubLocks (PULLDOWNMENUID_Draft_SubLocks)
119 
120 #undef PULLDOWNMENUID_SubLevel
121 #define PULLDOWNMENUID_SubLevel (PULLDOWNMENUID_Draft_SubLevel)
122 
123 #undef MENUSEARCHID_File_ImportExport
124 #define MENUSEARCHID_File_ImportExport (MENUSEARCHID_Draft_File_ImportExport)
125 
126 #endif

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