using system icons & images

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I know that Windows comes with own icons and bitmaps for menus, toolbars,
etc, which are compiled into ressource dlls. Is it possible to use these
images into the own program and how do I do that? I suppose these images all
have some name, which I would use to get the icon for let's say "New File"
and put it on my apps toolbar... Is there some place with docs what
images/icons are available and in which dll?
Thanks for your replies.
 
todorov-fkt,

There are no resources available in .NET which have the standard app
icons. The only thing I can think of is the SystemIcons class in the
System.Drawing namespace, which has the standard messagebox icons.

However, in .NET 2.0, if you add a MenuStrip item to your form, you can
opt to create a standard menu, and it will insert the standard icons for
you.

Hope this helps.
 
todorov-fkt said:
Hi,

I know that Windows comes with own icons and bitmaps for menus,
toolbars, etc, which are compiled into ressource dlls. Is it possible
to use these images into the own program and how do I do that? I
suppose these images all have some name, which I would use to get the
icon for let's say "New File" and put it on my apps toolbar... Is
there some place with docs what images/icons are available and in
which dll?
Thanks for your replies.

Have you seen this directory:
C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Graphics\icons

Hans Kesting
 
Back
Top