CRhinoCommand::result CCommandSampleObjectManager::RunCommand(const CRhinoCommandContext& context)
{
ON_UUID tabId = CSampleObjectManagerDialog::ID();
if (context.IsInteractive())
{
CRhinoTabbedDockBarDialog::OpenDockbarTab(context.m_doc, tabId);
// How to get the CRhinoTabbedDockBarDialog pointer
}
If you pull the developer samples repo, you’ll see that I added a new CSampleObjectManagerDialog::GetObjectManagerDialog function, to the sample you reference, that returns a pointer to the dialog. Basically, you want to store a pointer to the dialog when it’s created.