LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Whether the CVI can create toolbar?

I just want to create a toolbar, but I couldn't find the way. Does anyone know how to create a toolbar? Thanks a lot.
0 Kudos
Message 1 of 3
(3,303 Views)
there is a toolbar instrument in the samples that come with cvi:

samples\userint\custctrl\toolbar\tooldemo.cws



--
Once the game is over, the king and the pawn go back into the same box.
0 Kudos
Message 2 of 3
(3,298 Views)
Hello zhgwyh,
 
The toolbar instrument driver is location in <CVI folder>\toolslib\custctrl\toolbar.fp.  Toolbars are not accessible through the user interface editor, so you manually have to load the toolbar instrument driver into your project.  Once you do this, you will be able to use the various toolbar functions (Toolbar_New, Toolbar_InsertItem, Toolbar_Display, Toolbar_SetItem), and as josswern mentioned, you might want to take a look at the toolbar shipping example as a start.
 
Thanks.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 3 of 3
(3,262 Views)