LabWindows/CVI

取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
1 条消息(共 2 条)
3,079 次查看
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 项奖励
2 条消息(共 2 条)
3,061 次查看