Re: Loading Small System Icons
- From: Sylvain SF <sylvain@xxxxxxxxxxxxxxx>
- Date: Wed, 11 Mar 2009 15:06:11 +0100
Steve Thresher a écrit :
Doesn't make any difference. The icon is loaded, added to an image list and then drawn by the image list.
some time ago, when I wrote an ImageList wrapper, I'd experience the
same trouble, my understanding was that LoadImage(..., IMAGE_ICON, ...),
as well as LoadIcon, returns the first available icon with required size
(doc. says that it should be the "most appropriate for the current
display").
actually the icons were finely drawn only when the .ico file or loaded
icon suite does not contain 16clr icon, nor 32x32px icon - from tests
with tailored .ico file, it appears that LoadImage(..., 16,16, ...)
may load the 32x32px and resample it.
finally I now always use 256clr bitmap to build my image-list, it
requires you to extract all needed icons and build that bitmap, at
least once.
Sylvain.
.
- References:
- Loading Small System Icons
- From: Steve Thresher
- Re: Loading Small System Icons
- From: Alex Blekhman
- Re: Loading Small System Icons
- From: Steve Thresher
- Loading Small System Icons
- Prev by Date: Re: Loading Small System Icons
- Next by Date: Re: How to display tooltips as the selection moves through different items in
- Previous by thread: Re: Loading Small System Icons
- Index(es):
Relevant Pages
|