By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,742 Members | 773 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,742 IT Pros & Developers. It's quick & easy.

32bit image quality in menus and tool bar strips

P: n/a
Hi all,

Controls such as the tree view or list view use image lists hence I can set
the quality of icons to 32bit. This way they look their best.

Unfortunately both the menu and tool bar strip control don't use image lists.

How can I still achieve 32bit icon quality (icons are natively 32bit) in
these controls? I don't see any such property in either of them.

Thanks,
Adam
Apr 9 '06 #1
Share this Question
Share on Google+
10 Replies


P: n/a

"Adam Honek" <Ad*******@discussions.microsoft.com> wrote in message
news:AE**********************************@microsof t.com...
Controls such as the tree view or list view use image lists hence I can
set
the quality of icons to 32bit. This way they look their best.

Unfortunately both the menu and tool bar strip control don't use image
lists.

How can I still achieve 32bit icon quality (icons are natively 32bit) in
these controls? I don't see any such property in either of them.


Don't they use png files now?

Apr 9 '06 #2

P: n/a


"Homer J Simpson" wrote:

"Adam Honek" <Ad*******@discussions.microsoft.com> wrote in message
news:AE**********************************@microsof t.com...
Controls such as the tree view or list view use image lists hence I can
set
the quality of icons to 32bit. This way they look their best.

Unfortunately both the menu and tool bar strip control don't use image
lists.

How can I still achieve 32bit icon quality (icons are natively 32bit) in
these controls? I don't see any such property in either of them.


Don't they use png files now?


Could be.... Does this mean I need to convert then icons to PNG files? If so
what program may I use for this?
Apr 9 '06 #3

P: n/a

"Adam Honek" <Ad*******@discussions.microsoft.com> wrote in message
news:75**********************************@microsof t.com...
"Homer J Simpson" wrote:
Don't they use png files now?

Could be.... Does this mean I need to convert then icons to PNG files? If
so
what program may I use for this?


I can only suggest you search the web. PNG is a standard format.

PS. See http://www.kennyandkarin.com/Kenny/C...s/IconBrowser/
for some interesting info.

Apr 9 '06 #4

P: n/a
Yes I'm doing that in parallel to this thread.

Maybe it's just me but I don't see why MS didn't use imagelists for all
controls, it would
keep things consistent. Perhaps this is something for VS.net SP1.

Thanks,
Adam

"Homer J Simpson" <no****@nowhere.com> wrote in message
news:9Q8_f.45586$Ph4.24497@edtnps90...

"Adam Honek" <Ad*******@discussions.microsoft.com> wrote in message
news:75**********************************@microsof t.com...
"Homer J Simpson" wrote:

Don't they use png files now?

Could be.... Does this mean I need to convert then icons to PNG files? If
so
what program may I use for this?


I can only suggest you search the web. PNG is a standard format.

PS. See http://www.kennyandkarin.com/Kenny/C...s/IconBrowser/
for some interesting info.


Apr 9 '06 #5

P: n/a

"Adam Honek" <Ad*******@Webmaster2001.freeserve.co.uk> wrote in message
news:eZ****************@TK2MSFTNGP03.phx.gbl...
Yes I'm doing that in parallel to this thread.

Maybe it's just me but I don't see why MS didn't use imagelists for all
controls, it would
keep things consistent. Perhaps this is something for VS.net SP1.


Image lists were a PITA. I kept having to disconnect, update and reconnect
them to the controls. This is better.

Apr 9 '06 #6

P: n/a
On Sat, 8 Apr 2006 20:31:01 -0700, Adam Honek
<Ad*******@discussions.microsoft.com> wrote:
Hi all,

Controls such as the tree view or list view use image lists hence I can set
the quality of icons to 32bit. This way they look their best.

Unfortunately both the menu and tool bar strip control don't use image lists.

How can I still achieve 32bit icon quality (icons are natively 32bit) in
these controls? I don't see any such property in either of them.

Thanks,
Adam


If your icons are truely 32 bit (so-called XP style) but with an .ico
extension, they will load in the menu and toolstrips. Just chnage the
file type in the open dialog to all (*.*) when browsing for the
file(s). If the icons are not 32 bit, you will get an invalid format
error.

Gene
Apr 10 '06 #7

P: n/a
Yes they do load however they look visually worse than in my treeview that
I've set
to use a 32bit colour depth.

Even at 24 bits they look bad so it must be the menu and tool strip controls
having either
bugs or problems displaying 32bit colour depth when using icon files.

These are true Windows XP 32bit icons.

It's instant to see the quality difference amid these controls.

Adam

"gene kelley" <ok**@by.me> wrote in message
news:k0********************************@4ax.com...
On Sat, 8 Apr 2006 20:31:01 -0700, Adam Honek
<Ad*******@discussions.microsoft.com> wrote:
Hi all,

Controls such as the tree view or list view use image lists hence I can
set
the quality of icons to 32bit. This way they look their best.

Unfortunately both the menu and tool bar strip control don't use image
lists.

How can I still achieve 32bit icon quality (icons are natively 32bit) in
these controls? I don't see any such property in either of them.

Thanks,
Adam


If your icons are truely 32 bit (so-called XP style) but with an .ico
extension, they will load in the menu and toolstrips. Just chnage the
file type in the open dialog to all (*.*) when browsing for the
file(s). If the icons are not 32 bit, you will get an invalid format
error.

Gene

Apr 10 '06 #8

P: n/a
On Mon, 10 Apr 2006 08:52:06 +0100, "Adam Honek"
<Ad*******@Webmaster2001.freeserve.co.uk> wrote:
Yes they do load however they look visually worse than in my treeview that
I've set
to use a 32bit colour depth.

Even at 24 bits they look bad so it must be the menu and tool strip controls
having either
bugs or problems displaying 32bit colour depth when using icon files.

These are true Windows XP 32bit icons.

It's instant to see the quality difference amid these controls.

Adam

"gene kelley" <ok**@by.me> wrote in message
news:k0********************************@4ax.com.. .
On Sat, 8 Apr 2006 20:31:01 -0700, Adam Honek
<Ad*******@discussions.microsoft.com> wrote:
Hi all,

Controls such as the tree view or list view use image lists hence I can
set
the quality of icons to 32bit. This way they look their best.

Unfortunately both the menu and tool bar strip control don't use image
lists.

How can I still achieve 32bit icon quality (icons are natively 32bit) in
these controls? I don't see any such property in either of them.

Thanks,
Adam


If your icons are truely 32 bit (so-called XP style) but with an .ico
extension, they will load in the menu and toolstrips. Just chnage the
file type in the open dialog to all (*.*) when browsing for the
file(s). If the icons are not 32 bit, you will get an invalid format
error.

Gene


Just to clarify, a true "XP" icon is 32 bit, contains an alpha
channel, and generally appears anti-aliased, may even have a soft
shadow. The overall appearance is that of a "blurred" icon compared
to the same icon in it's 24 bit version which appears somewhat
sharper.

Icon files labeled as XP type icons can often be multi-res - muti-res
meaning that the icon file contains various sizes of the icon in both
32 bit and 24 bit versions. Some of these files may even contain 256
and 16 color versions of the icon.

I've never used the imagelist and treeview in VB2005. But I did try a
small test. At this end, even though the imagelist was set to 32 bit,
the actual icon displayed in the treeview was a non-32 bit version of
the icon. Using the same icon file for the toolstrip, the toolstrip
button displays the 32 bit version. So in this test case, yes, there
is a difference between the two controls. On the face of it, it would
appear that difference lies with either the imagelist or treeview or
both as one or the other does not appear to support 32 bit icon
display.

Gene
Apr 11 '06 #9

P: n/a
I've replaced the menu strip, tool bar and tree view to all use 32bit WinXP
PNG's and the quality
seems to be consistent now.

MS needs to decide whether to use imagelists for all controls or not, at the
moment we're having a
maybe this and maybe that scenario.

Adam

"gene kelley" <ok**@by.me> wrote in message
news:64********************************@4ax.com...
On Mon, 10 Apr 2006 08:52:06 +0100, "Adam Honek"
<Ad*******@Webmaster2001.freeserve.co.uk> wrote:
Yes they do load however they look visually worse than in my treeview that
I've set
to use a 32bit colour depth.

Even at 24 bits they look bad so it must be the menu and tool strip
controls
having either
bugs or problems displaying 32bit colour depth when using icon files.

These are true Windows XP 32bit icons.

It's instant to see the quality difference amid these controls.

Adam

"gene kelley" <ok**@by.me> wrote in message
news:k0********************************@4ax.com. ..
On Sat, 8 Apr 2006 20:31:01 -0700, Adam Honek
<Ad*******@discussions.microsoft.com> wrote:

Hi all,

Controls such as the tree view or list view use image lists hence I can
set
the quality of icons to 32bit. This way they look their best.

Unfortunately both the menu and tool bar strip control don't use image
lists.

How can I still achieve 32bit icon quality (icons are natively 32bit) in
these controls? I don't see any such property in either of them.

Thanks,
Adam

If your icons are truely 32 bit (so-called XP style) but with an .ico
extension, they will load in the menu and toolstrips. Just chnage the
file type in the open dialog to all (*.*) when browsing for the
file(s). If the icons are not 32 bit, you will get an invalid format
error.

Gene


Just to clarify, a true "XP" icon is 32 bit, contains an alpha
channel, and generally appears anti-aliased, may even have a soft
shadow. The overall appearance is that of a "blurred" icon compared
to the same icon in it's 24 bit version which appears somewhat
sharper.

Icon files labeled as XP type icons can often be multi-res - muti-res
meaning that the icon file contains various sizes of the icon in both
32 bit and 24 bit versions. Some of these files may even contain 256
and 16 color versions of the icon.

I've never used the imagelist and treeview in VB2005. But I did try a
small test. At this end, even though the imagelist was set to 32 bit,
the actual icon displayed in the treeview was a non-32 bit version of
the icon. Using the same icon file for the toolstrip, the toolstrip
button displays the 32 bit version. So in this test case, yes, there
is a difference between the two controls. On the face of it, it would
appear that difference lies with either the imagelist or treeview or
both as one or the other does not appear to support 32 bit icon
display.

Gene

Apr 11 '06 #10

P: n/a

"Adam Honek" <Ad*******@Webmaster2001.freeserve.co.uk> wrote in message
news:OT**************@TK2MSFTNGP05.phx.gbl...
I've replaced the menu strip, tool bar and tree view to all use 32bit
WinXP PNG's and the quality
seems to be consistent now.

MS needs to decide whether to use imagelists for all controls or not, at
the moment we're having a
maybe this and maybe that scenario.


There's a lot of that in 2005.

Apr 12 '06 #11

This discussion thread is closed

Replies have been disabled for this discussion.