Unfortunately, you are right, there isn't an exposed way to do this in the Toolbar API. The only good news I have for you is that we provide the source code for that tool (toolbar.c) so you can look at the source code and modify it to do what you want.
Best Regards,
Chris Matthews
National Instruments