Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I created a COM wrapper to display properties of my custom entity property palette. My entity contains several points and for each point, you can define a string. So I use GetGroupCount and GetElementGrouping to display a property with a spin control to go to previous or next point (similar to vertex property of AcDbPolyline). So for each point, it will display X, Y and Z values of the position and normally the text. But, it seems like when I'm using element grouping, only double values are understood. I tried to display string or bool, but it doesn't work:
varOut->vt = VT_BOOL; varOut->boolVal = TRUE; or varOut->vt = VT_BSTR; varOut->bstrVal = ::SysAllocString(_T("TEST")); or BSTR str = T2BSTR(_T("TEST")); *varOut = CComVariant(str);
Does anyone have a suggestion?
Regards,
--
Jonathan
Jonathan
Solved! Go to Solution.