|
-
Jan 15th, 2006, 06:52 PM
#1
Thread Starter
Hyperactive Member
[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?
Last edited by hassa046; Jun 12th, 2007 at 03:18 AM.
-
Jan 15th, 2006, 08:26 PM
#2
PowerPoster
Re: Imagelist in Windows XP
you could always readd the icons to the image list.
-
Jan 15th, 2006, 08:35 PM
#3
Thread Starter
Hyperactive Member
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)...
Last edited by hassa046; Apr 26th, 2008 at 05:08 PM.
-
Jan 15th, 2006, 08:41 PM
#4
PowerPoster
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.
-
Jan 15th, 2006, 08:45 PM
#5
Thread Starter
Hyperactive Member
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)
Last edited by hassa046; Apr 26th, 2008 at 05:08 PM.
-
Jan 15th, 2006, 09:52 PM
#6
PowerPoster
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?
-
Jan 15th, 2006, 10:08 PM
#7
Thread Starter
Hyperactive Member
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.
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?
-
Jan 15th, 2006, 10:44 PM
#8
PowerPoster
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|