LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Icon Resolution for Picture Button

Hi all!

I'm using CVI 7 and I'm using the uir editor.

When I load an image for a Picture Button and I select an .ico file, it
shows always the 32x32 icon (i guess 256 colors) in the .ico file even
if there is in the same file the 48x48 icon.

There is a ways to display the 48x48 icon ?
I tried "pasting" the image from the Microangelo editor but it lose the
"background" color and show it as white.

Thank you for the answers.

Bye,
Dimitri
0 Kudos
Message 1 of 2
(2,948 Views)
Hello Dimitri,

When you place a picture control on your UIR then try to load an image, the image that is loaded from the .ico file is the same image that would be loaded if you looked at the .ico file in Windows Explorer. In order to force CVI to use the 48x48 version, you can save a version of the .ico file that only includes the 48x48 version then use this .ico file for the picture control.

Thanks.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 2 of 2
(2,930 Views)