We are trying to implement the creation of a side panel by including a dialog in this panel.
What is the most correct procedure for this application?
Eto I guess?
I didn’t understand!!
Are you writing a plug-in for Rhino? If so, what language are you writing in?
If you are not writing a plug-in for Rhino, we’ll need more details on what you want to do.
Thanks,
– Dale
Yes, I’m making a plugin. I use C++ to develop them…
What I would like is to make a plugin and when I run it, instead of opening a floating Dialog, this dialog opens as if it were a panel…
To created a tabbed, docking dialog box, inherit your dialog class from CRhinoUiDockBarDialog.
The Rhino C++ SDK Samples on GitHub has an examples of this.
Once you’ve cloned repository, just open SamplesCpp.sln in Visual Studio and search for CRhinoUiDockBarDialog
– Dale
Thanks Dale.
I’m going to create my plugin, and if I need more instructions I’ll post my questions here…
Hi Dale…
I can’t find CRhinoUiDockBarDialog in the project you showed.
What am I doing wrong?
In fact, I’m having difficulty creating this side panel from scratch, in a new project…
Hi Dale,
Basically I’m not able to start creating the side panel, as I don’t know the initial steps to create this type of project.
I’m creating dialogs and manipulating them, but this is the first time I’ve had to create a side panel.
This is my difficulty…
Hi Dale,
One question…
If I create a simple Dialog, can I transform it into a Side Panel?
Hi Dale,
Please help me with basic information on how I can create a Dock panel…
I received your GitHub code, but I need to learn how to create it from scratch…
When I use some information according to your code I have similar errors such as the lack of some necessary files in the SDK…
Hi Dale,
How can I submit my code to make it easier to identify errors?
Hi Dale.
Can you analyze my code to look for any problems?
I still haven’t been able to create a Dock Panel from scratch, an error message always appears as if my SDK was missing something,
However, when I compare the files with the model you gave me from Git Hub it seems to be correct…
- In
stdafx.h, uncomment this:
// If you want to use Rhino's MFC UI classes, then
// uncomment the #define RHINO_SDK_MFC statement below.
// Note, doing so will requrie that your plug-in is
// built with the same version of Visual Studio as was
// used to build Rhino.
#define RHINO_SDK_MFC
- Do not
#includeRhino SDK headers in project .h and .cpp files, as they are already included instdafx.h.
– Dale
Dale,
One more question…
When I load the plugin this message appears on the screen…
What’s happening?
https://drive.google.com/file/d/1XqhsqeCbilWd8qDxEUyvcOXhmBxBZK6P/view?usp=sharing
Hi Dale,
Now when I load the plugin appears this window…

But this is not my Dock Bar…
I’m guessing you copied and pasted this GUID into your tabbed dockbar class.
This GUID must be unique. Use GUIDGEN.EXE to create a new, unique id.
– Dale
