Hi, I would like to dock the Command bar on bottom screen side when my PlugIn is loaded.
On Rhino 6 and 7 works with this code sample:
CRhinoUiDockBar* p_dock = RhinoApp().RhinoUiDockBarManager().FindDockBar(L"Command");
if(p_dock != nullptr)
{
ON_UUID id = p_dock->DockBarID();
RhinoApp().RhinoUiDockBarManager().DockDockBar(id,
AFX_IDW_DOCKBAR_BOTTOM);
}
I noticed that in Rhino 8 not works. After a debugging I noticed this strange thing if I call these functions
bool bottom = p_dock->IsDockedBottom();
bool top = p_dock->IsDockedTop();
in Rhino 6 and 7 with the Command bar docked on top as the default of Rhinoceros I obtain bottom = false and top = true.
In Rhino 8 I obtained the reverse bottom to true and top = false also if the Command bar is on top side of my screen.
In any case my question is how to dock the Command bar in the bottom side of screen in Rhino 8 SDK.
best regards