CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: icons

  1. #1
    Join Date
    Mar 2001
    Posts
    9

    icons

    Hi,

    anyone know where I can get my hands on the proper MS icons for toolbars and menus (i.e. like the ones they use in word)

    cheers

    Paul


  2. #2
    Join Date
    Dec 2000
    Location
    Los Angeles, CA
    Posts
    34

    Re: icons

    I know there are places that have these icons archives, but I don't have any links.. When I need an icon like that, I just do a screen capture and make the BMP into an ICO... It's a bit of work if you have a lot to do, so you may be better off looking for icons that have already been made, but if you can't find it you can make it...

    Nathan


  3. #3
    Join Date
    Dec 1999
    Location
    Dublin, Ireland
    Posts
    1,173

    Re: icons

    You van use the ExtractIcon() api call and get them from Word itself...then save them in .ico files in the normal fashion.
    I'm not sure if there are legal implications though.

    The api call is:


    Declare Function ExtractIcon Lib "shell32.dll" Alias "ExtractIconA" (byval hInst as Long, byval lpszExeFileName as string, byval nIconIndex as Long) as Long




    HTH,
    Duncan


    -------------------------------------------------
    Ex. Datis: Duncan Jones
    Merrion Computing Ltd
    http://www.merrioncomputing.com
    '--8<-----------------------------------------
    NEW -The printer usage monitoring application
    '--8<------------------------------------------

  4. #4
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: icons

    Go to :
    http://www.planet-source-code.com/xq...s/ShowCode.htm
    '
    You will find a sample with 58 windows Icons

    John G

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured