When upgrading to ProfUIS v.280 from v2.33, we notice the upgrade in docking markers: from "triangle arrows", to square windows (with arrows inside), ala VS2005.
Is there a way, at runtime, to be able to switch between all the docking marker styles? We would like to offer our customers the follwing options:
1) disabled (= no docking markers)
2) old-style "triangle" docking markers, as they were in ProfUIS v2.33
3) new style, as we see in ProfUIS v2.80
To explain better using code sample, how could you complete the case for "DOCKING_MARKER_VS2005" ??
switch(eDockingMarkerStyle)
{
case DOCKING_MARKER_VS2005:
// ???? How would you enable these ????
break;
case DOCKING_MARKER_TRIANGLE:
CExtControlBar::g_eResizablePanelDockingType =
CExtControlBar::__RESIZABLE_DOCKING_TYPE_STUDIO_2005;
break;
case DOCKING_MARKER_DISABLED:
//fall-through
default:
// disable docking markers
CExtControlBar::g_eResizablePanelDockingType =
CExtControlBar::__RESIZABLE_DOCKING_TYPE_STUDIO_2003;
break;
}
Examining "\Include\ExtControlBar.h" shows that there isn’t another type declared for these new style markers :-(
enum eResizablePanelDockingType_t
{
__RESIZABLE_DOCKING_TYPE_BY_THEME = -1,
__RESIZABLE_DOCKING_TYPE_STUDIO_2003 = 0,
__RESIZABLE_DOCKING_TYPE_STUDIO_2005 = 1,
__RESIZABLE_DOCKING_TYPE_MIN_VALUE = 0,
__RESIZABLE_DOCKING_TYPE_MAX_VALUE = 1,
};
Do you have any suggestions how we can offer all 3 options?
With thanks,
David Kymlicka