For the CSampleObjectManagerDialog from the developer samples repository on GitHub, we would like to directly dock the dialog when creating it.
I guess this could be done by changing the following code:
CRhinoTabbedDockBarDialog::OpenDockbarTab(context.m_doc, tabId);
Could Rhino show us the code for docking?