Ricahrd
Tue Jan 06 05:27:45 CST 2004
Hmm... I still am unable to sort this out - it should be
simple, so it's probably me.
Is ther a simple treatment of the use of bitmaps:
transparancy etc. in controls?
What I have now is e.g. the COPY.BMP from the GRAPHICS
folder, used in an ImageList as a toolbar button bitmap.
ImageList TransparentColor set to Transparent. The grey
border of the bitmap is shown, and isn't transparent...
When the button is Enabled.false then I get a 'blackish'
bitmap, and not the nice disabled version you see in e.g.
VS .NET. However the graphics fodler has only the one
version. What is going on?
Thanks
Richard
>-----Original Message-----
>Many thanks Herfried.
>
>Some surprise that, given MS push to get ISVs and
>Partners on the 'designed for XP' etc bandwagons, they
>don't provide a bunch of standard bitmaps...
>
>Regards
>Richard
>>-----Original Message-----
>>* "Richard Lee" <anonymous@discussions.microsoft.com>
>scripsit:
>>> Where can I get standard toolbar icons like Open,
>Save,
>>> Print etc from? Should I embed them in my app or can
I
>>> assume that any system will have them? How does each
>>> version of WIndows differ - do I need to know what
>>> version the user is running and pick icons
>accordingly?
>>
>>You will have to design the bitmaps yourself, Windows
>doesn't provide
>>these bitmaps. In the VS.NET installation folder you
>will somewhere
>>find a folder "GRAPHICS" (if you checked the option in
>VS.NET Setup)
>>which contains some bitmaps ready for use with your
>application.
>>
>>> I've pulled a bunch of other icons from dlls, and
want
>to
>>> use some. However they have white backgrounds both in
>the
>>> Image Editor and when displayed. The host ImageList
>>> TransparentColor property doesn't make a difference.
>>> Changing the bitmap background from Opaque to
>Transparent
>>> doesn't make a difference.
>>
>>Don't use icons, use bitmaps.
>>
>>--
>>Herfried K. Wagner [MVP]
>><
http://www.mvps.org/dotnet>
>>.
>>
>.
>