468,535 Members | 1,720 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,535 developers. It's quick & easy.

using system icons & images

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.
Nov 16 '05 #1
2 10557
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.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"todorov-fkt" <to********@discussions.microsoft.com> wrote in message
news:EB**********************************@microsof t.com...
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.

Nov 16 '05 #2
todorov-fkt wrote:
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
Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by udir | last post: by
1 post views Thread by James Black | last post: by
4 posts views Thread by Wannabe | last post: by
reply views Thread by Wannabe | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.