Rhino 6: Problems loading TabbedDockBarDialog


#1

Dear McNeel Support,

We are currently porting our Rhino 5 C++ Plugin to Rhino 6. However in Rhino 6 we are experiencing Problems loading our custom TabbedDockBar derived from CRhinoTabbedDockBarDialog.

Registering the DockBar through CRhinoTabbedDockBarDialog::Register(…) returns true. However the Tabbed Dock bar is not being created afterwards. Also, ::OnInitDialog() is never being called.

In the Rhino 5 SDK on the other hand, we see a call to the constructor as well as OnInitDialog() issued by some WindowsEvent right after CRhinoUtilityPlugIn::OnLoadPlugIn().

Are there some changes in the Rhino 6 SDK regarding loading a Tabbed Dock Bar we need to consider? At least in the comments in the header of CRhinoTabbedDockBarDialog we don’t see any substantial modifications.

Thank you for your help,
Best Regards,
Andreas


(Dale Fugier) #2

Hi @andreasniggl,

Without souce code, it is difficult to even speculate.

You might look through the Rhino C++ SDK samples, which have a couple examples of CRhinoUiDockBarDialog and see if they provide any hints.

https://github.com/mcneel/rhino-developer-samples
https://github.com/mcneel/rhino-developer-samples/tree/6/cpp/SampleUserInterface

– Dale