[RESOLVED] (Imagelist) Image Control in Windows XP
Hi guys,
I've switched to windows xp pro sp2 last week and noticed a strange thing in my application.
I use an imagelist with some icons in it. In windows 2000 there was no problem and everything (the size of the icons) seemd allright.
In XP they have all the same small size (i guess 16 as the toolbar icons) which i cannot use.
Is this a common problem when i develop in XP? Is there a solution for it?
Re: Imagelist in Windows XP
you could always readd the icons to the image list.
Re: Imagelist in Windows XP
ok; I did come closer tot the problem.
It isn't the imagelist what giving the troubles.
I use an Image Control to place the icon on it.
First it gets resized to 16x16 en when i use a bigger size i get some strange effect.
I attached a sample how it looks ( i guess 265 color mode)...
Re: (Imagelist) Image Control in Windows XP
the problem would be the resolution for the ico itself. if i am not mistaken, the image controls are meant for bmp images so you might want to convert the ico to bmp and try that. most people use ico's for menu editor, statusbar and toolbar.
Re: (Imagelist) Image Control in Windows XP
True, but i used this option to create an outlook-bar menu.
I build this from scratch and dynamicly.
And the only option seemd to me to use the image control.
The icons i use are multi-format icons, which never gave me problems untill i switched to XP.
I've attached a sample icon i use (about.ico)
Re: (Imagelist) Image Control in Windows XP
some people use a picturebox for doing what youre doing instead of the image control. have you tried that? or maybe found a better ico image for a better resolution?
Re: (Imagelist) Image Control in Windows XP
No, icon's are fine.
The strange thing that i didn't experience this problem with windows 2000 as development platform. Only XP does this.
Probably another reason not to upgrade to xp.
I came across a lot of articles regarding display 32 bits icons in vb.
Strange thing. In Win2K i didn't have to struggle with it. :mad:
Ok thanxxx anyway.
In a old post of you http://www.vbforums.com/showthread.p...ht=32+bit+icon , you also got stuck with this problem. How did you solvedit?
:wave:
Re: (Imagelist) Image Control in Windows XP
i didnt solve it. vb doesnt like 32-bit icons and it wont let you use them which totally sucks.