11-18-2011 09:52 AM
Hi. This is probably a dumb question, but how do I add items to a ring (kRing) toolbar item when using the Toolbar Custom Control (toolbar.fp) in CVI 2010? Thanks.
Solved! Go to Solution.
11-18-2011 11:00 AM
You can add your items by first getting the control ID of the toolbar item via the Toolbar_GetCtrlFromIndex or Toolbar_GetCtrlFromDescription functions, and then using InsertListItem to add your items to the ring.
Luis
11-18-2011 11:26 AM
Interesting. I take it that the toolbar items are actually just standard control types and once I have the toolbar's panelhandle and control ID I can manipulate the items as controls with the standard user interface library functions (within reason of course)?
In any case, thanks for the help. That worked perfectly.