Icons

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • marc parthoens

    Icons

    We have started a c# development.
    We are looking for a simple way to get a collection of
    icons.
    Icons type we need:
    - classical windows form like exit, undo, redo, copy to
    clipboard, ...
    - database management icons like next record, last
    record, ...
    - other like Office icons, ...

    We want to be as close as possible of classical XP icons.
    We want this software to be able to run on XP, 2000 and
    maybe 98.

  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Icons

    Marc,

    You can use some of the icons embedded as resources in Windows XP.
    However, you have to be careful, the icon format is changed to accomidate
    more colors and higher resolution displays. Because of this, you can't just
    use them on 2000 and 98. You will have to adapt them somehow.

    If you want to extract the icons, you can make calls to LoadIcon (and
    LoadImage I believe). Using those, you can get a handle to an icon, which
    you can then pass to the static FromHandle method of the Icon class to get
    an Icon instance.

    Hope this helps.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - nick(dot)paldin o=at=exisconsul ting<dot>com


    "marc parthoens" <m.parthoens@ic srv.com> wrote in message
    news:0ae601c38d 80$b4b18910$a40 1280a@phx.gbl.. .[color=blue]
    > We have started a c# development.
    > We are looking for a simple way to get a collection of
    > icons.
    > Icons type we need:
    > - classical windows form like exit, undo, redo, copy to
    > clipboard, ...
    > - database management icons like next record, last
    > record, ...
    > - other like Office icons, ...
    >
    > We want to be as close as possible of classical XP icons.
    > We want this software to be able to run on XP, 2000 and
    > maybe 98.
    >[/color]


    Comment

    Working...