31#define PROPCAT_Misc -2
32#define PROPCAT_Font -3
33#define PROPCAT_Position -4
34#define PROPCAT_Appearance -5
35#define PROPCAT_Behavior -6
36#define PROPCAT_Data -7
37#define PROPCAT_List -8
38#define PROPCAT_Text -9
39#define PROPCAT_Scale -10
40#define PROPCAT_DDE -11
41#define PROPCAT_General -12
42#define PROPCAT_Mass -13
43#define PROPCAT_Pattern -14
44#define PROPCAT_DataPoints -15
45#define PROPCAT_Mesh -16
46#define PROPCAT_ImageAdjust -17
47#define PROPCAT_ControlPoints -18
48#define PROPCAT_PrimaryUnits -19
49#define PROPCAT_AltUnits -20
50#define PROPCAT_Fit -21
51#define PROPCAT_LinesArrows -22
52#define PROPCAT_Tolerances -23
53#define PROPCAT_Table -24
54#define PROPCAT_Geometry -25
55#define PROPCAT_Section -26
56#define PROPCAT_UnderlayAdjust -27
57#define PROPCAT_Solid_History -28
58#define PROPCAT_Fillet -29
59#define PROPCAT_Chamfer -30
60#define PROPCAT_3DVisualization -31
61#define PROPCAT_Table_Breaks -32
62#define PROPCAT_SURFACE_ASSOCIATIVITY -33
63#define PROPCAT_SURFACE_TRIM -34
64#define PROPCAT_ViewDefinition -35
65#define PROPCAT_Annotation -36
66#define PROPCAT_ReferenceData -37
67#define PROPCAT_Representation -38
68#define PROPCAT_PointcloudAdjust -39
69#define PROPCAT_GeomapImageAdjust -40
87#define BEGIN_OPMPROP_MAP() \
88 static ACAD_OPMPROPMAP_ENTRY* GetOPMPropertyMap() \
90 static ACAD_OPMPROPMAP_ENTRY pPropMap[] = \
94#define OPMPROP_ENTRY(nDesID, dpid, ctid, ctNameID, elementsID, predefID, vals, grp, editable, other, clsid, ellipsesTxt) \
95 {nDesID, dpid, ctid, ctNameID, elementsID, predefID, vals, grp, editable, &other, &clsid, &IID_IDispatch, OLESTR(ellipsesTxt)},
97#define OPMPROP_CAT_ENTRY(nDesID, dpid, ctid, ctNameID) \
98 {nDesID, dpid, ctid, ctNameID, 0, 0, _ACRX_T(""), 0, 1, &IID_NULL, &IID_NULL, &IID_IDispatch, OLESTR("")},
100#define OPMPROP_DESC_ENTRY(nDesID, dpid) \
101 {nDesID, dpid, -2, 0, 0, 0, _ACRX_T(""), 0, 1, &IID_NULL, &IID_NULL, &IID_IDispatch, OLESTR("")},
103#define OPMPROP_PREDEFINED_ENTRY(nDesID, dpid, predefID, values, other) \
104 {nDesID, dpid, -2, 0, 0, predefID, values, 0, 1, &other, &IID_NULL, &IID_IDispatch, OLESTR("")},
106#define OPMPROP_ELEMENT_ENTRY(dpid, ctid, ctNameID, elementsID, grouping) \
107 {0, dpid, ctid, ctNameID, elementsID, 0, _ACRX_T(""), grouping, 1, &IID_NULL, &IID_NULL, &IID_IDispatch, OLESTR("")},
109#define OPMPROP_PAGE(nDesID, dpid, ctid, ctNameID, clsid) \
110 {nDesID, dpid, ctid, ctNameID, 0, 0, _ACRX_T(""), 0, 1, &IID_NULL, &clsid, &IID_IDispatch, OLESTR("")},
112#define END_OPMPROP_MAP() \
113 {0, 0, 0, 0, 0, 0, NULL, 0, 0, NULL, NULL, &IID_NULL, NULL} \
139#ifndef PROP_TEXTCOLOR_DEFAULT
140#define PROP_TEXTCOLOR_DEFAULT 0x80000008
143#define BEGIN_PERPROPDISPLAY_MAP() \
144 static PER_PROP_DISP_ENTRY* GetPerPropDisplayArray() \
146 static PER_PROP_DISP_ENTRY pPerPropDisplayArray[] = \
149#define PROP_DISP_ENTRY(dispid, progid, lpLeftIconRes, lpLeftIconType, \
150 lpEllipsisBmpRes, lpEllipsisBmpType, textcolor, \
151 bFullView, dwIntegralHeight, nWeight) \
152 {dispid, progid, lpLeftIconRes, lpLeftIconType, lpEllipsisBmpRes, \
153 lpEllipsisBmpType, textcolor, bFullView, \
154 dwIntegralHeight, nWeight}, \
156#define END_PERPROPDISPLAY_MAP() \
157 {-1, NULL, NULL, (UINT)PICTYPE_UNINITIALIZED, NULL, (UINT)PICTYPE_UNINITIALIZED, PROP_TEXTCOLOR_DEFAULT, false, (DWORD)-1, -1} \
159 return pPerPropDisplayArray; \
174#define BEGIN_CATCMDBTN_MAP() \
175 static CATCMDBTN_ENTRY * GetCmdBtnArray() \
177 static CATCMDBTN_ENTRY pCatCmdBtnArray[] = \
181#define CATCMDBTN_MAP_ENTRY(nId, NameId, \
182 lpEnBtnBmpRes, lpEnBtnBmpType, lpDisBtnBmpRes, lpDisBtnBmpType, \
183 nStyle, pfnBtnProc) \
184 {nId, static_cast<UINT>(NameId), lpEnBtnBmpRes, static_cast<UINT>(lpEnBtnBmpType), lpDisBtnBmpRes, static_cast<UINT>(lpDisBtnBmpType), nStyle, pfnBtnProc},
186#define END_CATCMDBTN_MAP() \
187 {-1, 0u, NULL, static_cast<UINT>(PICTYPE_UNINITIALIZED), NULL, static_cast<UINT>(PICTYPE_UNINITIALIZED), NULL, NULL} \
189 return pCatCmdBtnArray; \
203#define BEGIN_CMDBTN_MAP() \
204 static CMDBTN_ENTRY * GetPropCmdBtnArray() \
206 static CMDBTN_ENTRY pCmdBtnArray[] = \
210#define CMDBTN_MAP_ENTRY(NameId, lpEnBtnBmpRes, lpEnBtnBmpType, \
211 lpDisBtnBmpRes, lpDisBtnBmpType, nStyle, pfnBtnProc) \
212 {NameId, lpEnBtnBmpRes, lpEnBtnBmpType, lpDisBtnBmpRes, lpDisBtnBmpType, nStyle, pfnBtnProc},
214#define END_CMDBTN_MAP() \
215 {0, NULL, (UINT)PICTYPE_UNINITIALIZED, NULL, (UINT)PICTYPE_UNINITIALIZED, NULL, NULL} \
217 return pCmdBtnArray; \
229#define BEGIN_CAT_MAP() \
230 static CATEGORY_ENTRY* GetCatArray() \
232 static CATEGORY_ENTRY pCatArray[] = \
236#define CATEGORY_MAP_ENTRY(nId, NameId, DescId, nParentId, nWeight) \
237 {nId, NameId, DescId, nParentId, nWeight},
239#define END_CAT_MAP() \
std::vector< PER_PROP_DISP_ENTRY > PROP_DISP_VECTOR
std::vector< CATCMDBTN_ENTRY > CATCMDBTN_VECTOR
std::vector< CATEGORY_ENTRY > CATEGORY_VECTOR
BOOL(* BUTTONPROC)(IAcPiCommandButton *pButton, VARIANT Objects)
std::vector< CMDBTN_ENTRY > CMDBTN_VECTOR
ATL::_ATL_CREATORFUNC * pfnCreateInstance
IPropertySource * pPropSrc
const CLSID * pclsidPropPage
const CLSID * pclsidOther
const ACHAR * predefinedValues
const ACHAR * m_lpEnBtnBmpRes
const ACHAR * m_lpDisBtnBmpRes
const ACHAR * m_lpDisBtnBmpRes
const ACHAR * m_lpEnBtnBmpRes
const ACHAR * m_lpLeftIconRes
const ACHAR * m_lpEllipsisBmpRes