Problem with images???

  • Thread starter Thread starter al
  • Start date Start date
A

al

Greetings,

I have this problem with any image, in any format, I include in
ToolBar Control. Those images are in-house developed. The problem is
when I include an image in a ToolBar and have its Enabled property set
to False, at runtime, the image just disappears, leaving a square
grayed area with nothing inside it. ( while it is supposed to show the
image in gray color)??


MTIA,
Grawsh
 
* (e-mail address removed) (al) scripsit:
I have this problem with any image, in any format, I include in
ToolBar Control. Those images are in-house developed. The problem is
when I include an image in a ToolBar and have its Enabled property set
to False, at runtime, the image just disappears, leaving a square
grayed area with nothing inside it. ( while it is supposed to show the
image in gray color)??

That's a known "limitation".

<msdn>
If the image or text has multiple colors, they display in a monochromatic gray.
</msdn>

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>
 
Does this also happends if you have a chess-board like
image? All colors that are light will turn into grey, and
all dark color will be darker gray. Maybe your image
doe'snt contain any color that is dark enougth?

/Andreas
 
Andreas said:
Does this also happends if you have a chess-board like
image? All colors that are light will turn into grey, and
all dark color will be darker gray. Maybe your image
doe'snt contain any color that is dark enougth?

/Andreas


The strange thing is this type of behavior dosen't occure when I
import system-images (images the come with Win2k) into the toolbar.
Could I have done someting wroing when I first draw the images (they
are your basic MoveFirst and MoveLast images that I could not find in
Win2k)??

Grawsha
 
Back
Top