Re: Image List and Toolbar

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Diarmuid" <diarmuid@xxxxxxxxxxxx> wrote in message
news:epJrqGRbFHA.2076@xxxxxxxxxxxxxxxxxxxxxxx
>I have images in an image list, which provides the icons for my toolbar.
> But some images seem to have backgrounds, and others don't. e.g. some
> icons have a black square around them which I don't want.
> Is there a way of configuring the image list so that some default
> background is used?
> Thanks
> Diarmuid

iirc, the lower-right most pixel of any image will determine the transparent
color in a toolbar (maybe upper-left most). See of one of the corner pixels
is black for those "black square" images.

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..


.



Relevant Pages

  • High-Color Icons
    ... I'd like to either create or purchase some higher-color icons and toolbar ... I noticed that pasting these images into the VS icon and toolbar ... high-color toolbar images to appear correctly. ...
    (microsoft.public.vc.mfc)
  • Re: Little help with Imagelist
    ... You can use AddBitmapand AddButton(), for example, to create your toolbar from images. ... If you want to use SetImageListyou would just have to continue adding icons to the list before assigning it to the toolbar. ...
    (microsoft.public.vc.mfc)
  • Re: WM2003SE toolbar bug-fix required
    ... Is this on a 2003 Second Edition device? ... > After having problems getting my toolbar to display images I've found ...
    (microsoft.public.pocketpc.developer)
  • Re: Toolbar bitmap grief!
    ... The pink area is generally the mask color, as this color is generally not used as part of the toolbar itself. ... If you can find images in the format you need, ... png and also an Icons folder. ...
    (microsoft.public.vc.mfc)
  • Re: images jerk or stutter
    ... PowerPoint 2007 Complete Makeover Kit http://tinyurl.com/32a7nx ... it does sound to me like a toolbar is opening and that is shifting the position of everything else in the window. ... The images jump about every 30 to 90 seconds and they ... "Lucy Thomson" wrote: ...
    (microsoft.public.powerpoint)