disabled toolbar button images

  • Thread starter Thread starter Scott James
  • Start date Start date
S

Scott James

An exhaustive search of all dotnet groups seems to indicate that no
one has been able to solve the problem of disabled toolbar button
images providing a grey box or some other lame appearance.

Has anyone been able to solve this? From the postings it sounds like
it may have something to do with the imagelist transparency color, the
imagelist color depth, and possibly the original image file color
depth. Anyone?

Scott.
 
Hi Scott,

How do you achieve transparency for *enabled* toolbar buttons? I can assure
you that with setting the ImageList's TransparentColor properly and having
256-colors BMPs the transparency works like a charm for me. Of course the
imagelist color depth should be set to the original image color depth, the
image list might be unable to determine the transparent color otherwise due
to possible RGB value changes related to another bit depth.
 
Back
Top