Absolutly not !
Let’s me explain another time.
I have created a CRhinoUiDockBar, associated to CRhinoUiDockBarDialog…
I create it inside the ‘OnLoad’ of my pluggin like that :
CRhinoUiDockBar* pAccrObjTB = RhinoUiDockBarManager( ).CreateRhinoDockBar( RUNTIME_CLASS( CCaptureGUIAccrObjToolBar ), PlugInID( ), false, AFX_IDW_DOCKBAR_FLOAT, CBRS_ALIGN_TOP | CBRS_ALIGN_BOTTOM, NULL, CBRS_SIZE_FIXED );
I want be sure that when the user start the pluggin FOR THE FIRST TIME, just after having installed it, than this toolbar was shown, visible, floatting.
At this time I have created a command than the user must run in order to show this toolbar :
RhinoUiDockBarManager( ).ShowDockBar( CCaptureGUIAccrObjToolBar( ).DockBarID( ), true, false ) == false )
But I would prefer to show it by default for the first time, and then it would be not necessary to run this command.
After this first time, I don’t mind… Everything is OK : Rhino SAVE et RESTORE toolbar state very well.
How to be sure to show by default the toolbar when the pluggin is started for the FIRST time…
That’s the question !
Is there some registry entry to look for ?