|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
32bit image quality in menus and tool bar stripsHi 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 "Adam Honek" <AdamHo***@discussions.microsoft.com> wrote in message Don't they use png files now?news:AE244CE2-7F84-45AF-B636-0F55BBF96434@microsoft.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.
Show quote
Hide quote
"Homer J Simpson" wrote: Could be.... Does this mean I need to convert then icons to PNG files? If so > > "Adam Honek" <AdamHo***@discussions.microsoft.com> wrote in message > news:AE244CE2-7F84-45AF-B636-0F55BBF96434@microsoft.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? > what program may I use for this? "Adam Honek" <AdamHo***@discussions.microsoft.com> wrote in message I can only suggest you search the web. PNG is a standard format.news:75D8D325-21C6-4C18-AE67-15700C374774@microsoft.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? PS. See http://www.kennyandkarin.com/Kenny/CodeCorner/Tools/IconBrowser/ for some interesting info. 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" <nob***@nowhere.com> wrote in message news:9Q8_f.45586$Ph4.24497@edtnps90...Show quoteHide quote > > "Adam Honek" <AdamHo***@discussions.microsoft.com> wrote in message > news:75D8D325-21C6-4C18-AE67-15700C374774@microsoft.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/CodeCorner/Tools/IconBrowser/ > for some interesting info. > > > > > "Adam Honek" <AdamHo***@Webmaster2001.freeserve.co.uk> wrote in message Image lists were a PITA. I kept having to disconnect, update and reconnect news:eZXBqJ%23WGHA.3448@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. them to the controls. This is better. On Sat, 8 Apr 2006 20:31:01 -0700, Adam Honek
<AdamHo***@discussions.microsoft.com> wrote: >Hi all, If your icons are truely 32 bit (so-called XP style) but with an .ico> >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 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 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 Show quoteHide quote "gene kelley" <o***@by.me> wrote in message news:k0lj32hpshejjofcmqu56lb7gt3vr1al0a@4ax.com... > On Sat, 8 Apr 2006 20:31:01 -0700, Adam Honek > <AdamHo***@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 On Mon, 10 Apr 2006 08:52:06 +0100, "Adam Honek"
<AdamHo***@Webmaster2001.freeserve.co.uk> wrote: Show quoteHide quote >Yes they do load however they look visually worse than in my treeview that Just to clarify, a true "XP" icon is 32 bit, contains an alpha>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" <o***@by.me> wrote in message >news:k0lj32hpshejjofcmqu56lb7gt3vr1al0a@4ax.com... >> On Sat, 8 Apr 2006 20:31:01 -0700, Adam Honek >> <AdamHo***@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 > 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 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 Show quoteHide quote "gene kelley" <o***@by.me> wrote in message news:641m321qbffrpajg778dg3u7msqn436mrd@4ax.com... > On Mon, 10 Apr 2006 08:52:06 +0100, "Adam Honek" > <AdamHo***@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" <o***@by.me> wrote in message >>news:k0lj32hpshejjofcmqu56lb7gt3vr1al0a@4ax.com... >>> On Sat, 8 Apr 2006 20:31:01 -0700, Adam Honek >>> <AdamHo***@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 "Adam Honek" <AdamHo***@Webmaster2001.freeserve.co.uk> wrote in message There's a lot of that in 2005.news:OTovX3bXGHA.3444@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.
StringBuilder termination char
Run code from IDE Save graphics image to bitmap? VB2005 - Secure Access to SQL Server through Application Only Applications sharing Forms Authentication VB2005 -> OLEDB Connectivity question OptionExplicit How can I know my application's path? decimal serious problem How do I get a gradualy changing colors? |
|||||||||||||||||||||||