Home All Groups Group Topic Archive Search About
Author
7 Sep 2006 8:14 PM
TyBreaker
Is there a way to access icons within Windows XP for use in projects?
--
  ______     ___               __
/_  __/_ __/ _ )_______ ___ _/ /_____ ____
  / / / // / _  / __/ -_) _ `/  '_/ -_) __/
/_/  \_, /____/_/  \__/\_,_/_/\_\\__/_/
     /___/

There are 10 types of people in this world; those who understand the
binary numbering system and those who don't.

There's no place like 127.0.0.1.

ASCII a silly question, get a silly ANSI.

Author
7 Sep 2006 9:04 PM
HKSHK
Hello TyBreaker,

If you want the Msgbox icons, you can get them with SystemIcons, e.g.
SystemIcons.Error

If you want to use icons from explorer then you would have to load them
from the proper DLL or EXE file.

Best Regards,

HKSHK

TyBreaker wrote:
Show quoteHide quote
> Is there a way to access icons within Windows XP for use in projects?
Author
7 Sep 2006 9:42 PM
TyBreaker
HKSHK wrote:
> If you want to use icons from explorer then you would have to load them
> from the proper DLL or EXE file.

OK thanks for that.  I'm a bit green around the edges, can you provide a
bit more detail eg sample code that makes use of icons in Explorer or
perhaps a reference site I can read up on it please?

Also, if I did use such icons would they automatically change if I ran
my application under Vista i.e. are the icons embedded in my project or
do they remain references to whatever the particular OS uses?

--
  ______     ___               __
/_  __/_ __/ _ )_______ ___ _/ /_____ ____
  / / / // / _  / __/ -_) _ `/  '_/ -_) __/
/_/  \_, /____/_/  \__/\_,_/_/\_\\__/_/
     /___/

There are 10 types of people in this world; those who understand the
binary numbering system and those who don't.

There's no place like 127.0.0.1.

ASCII a silly question, get a silly ANSI.