Hello!
I’m developing plug-in using C++.
I met next difficulties in adjusting of Rhinoceros UI state at the very first load (empty machine -> install Rhinoceros -> install Plug-in -> Run):
- Rhinoceros window is loaded as “restored”. Can it be loaded as “maximized”?
- I need to open my tab on this right dockbar
Inside OnNewDocument() I search for the right docked dockbar and open my tab on it. The problem is that at the very first load inside OnNewDocument() all the dockbars are still floating. So the solution I found is to open my tab on dockbar with ID “5A5B89A0-830F-C90D-5F60-35C2E907E18C” (haven’t found such define) and somewhere after “OnNewDocument” it becomes docked. The question is: is it a possible solution? and is it possible to make my tab active after loading (now “Properties” is active). - I have a toolbar collection with the name of plugin and “.tb”. At the very first loading the problem is that after creation of new CRhinoUiToolBarCollection and showing of one toolbar from it, all the toolbars are shown and can be hidden only by mouse click.
Thanks for any help you can provide