How can I add/configure a dropdown button on a desktop Toolbar?

How can I add/configure a dropdown button on a desktop Toolbar? I was able to add the code to the normal push buttons on the Desktop Toolbar, but cannot find a way to do this with the dropdown button or to add items to the dropdown menu.

You could consider a container-control utilizing your toolbar.

You mean a menu button, don’t you ? Look into Examples/Desktop/Controls/Toolbar

There is also example code on the ToolButton doc page.

Thanks all, I was able to make it. I found a great video tutorial that explains this: https://youtu.be/R4mD9hZ8OYg?list=PLqsdY-_ZdxJo2ekDas4GjkU2EouwYJV4F