I'm being dead thick, but I can't get my head around
this:

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?

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.

There's nothing in any of the .NET books I have, and I
can't find anything online. What am I missing?

Re: Standard and other toolbar icons/bitmaps by hirf-spam-me-here

hirf-spam-me-here
Mon Jan 05 11:15:37 CST 2004

* "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>

Re: Standard and other toolbar icons/bitmaps by Richard

Richard
Tue Jan 06 02:57:24 CST 2004

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>
>.
>

Re: Standard and other toolbar icons/bitmaps by Ricahrd

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>
>>.
>>
>.
>

Re: Standard and other toolbar icons/bitmaps by hirf-spam-me-here

hirf-spam-me-here
Tue Jan 06 07:41:44 CST 2004

* "Ricahrd Lee" <anonymous@discussions.microsoft.com> scripsit:
> 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...

You will have to set the 'TransparentColor' property to the color of the
grey border.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>