LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

add picture (logo) to toolbar

Hi,
 
is it possible to add a picture (like a logo as a bmp-file) to a toolbar made with the new CVI 8.0 toolbar fp? We have this as a styleguide requirement for software products and it is possible in other development environments like Borland Delphi etc.
 
Thanks for your help!
 
Regards,
Steffen
 
 
0 Kudos
Message 1 of 2
(2,927 Views)

For every Toolbar Button Item you can select a picture. As file format you can use PCX,BMP,DIB,RLE,ICO,JPG,PNG,WMF and EMF.

The default size is 16x16 pixel, but you can adjust the size with the function Toolbar_SetAttribute and the Attribute TOOLBAR_ATTR_BUTTON_IMAGE_SIZE.

Adding a Bitmap that is not a Button is not possible. You could add a picture-control to the top left corner, and shift the toolbar to the left accordingly, to "simulate" your requirement

 

0 Kudos
Message 2 of 2
(2,907 Views)