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

Thread: Windows Icons

  1. #1
    Join Date
    Jan 2003
    Posts
    615

    Windows Icons

    Got a simple C# (VS2002 and dotnet 1.1) application with a toolbar thats linked to a imagelist. The imagelist contains a few simple self-made .gif images that I'm able to display in the toolbar.

    However, how can I add standard windowsXP icons to the toolbar\imagelist such as new, open, save, save as etc? Do I really need to draw these icon myself?

  2. #2
    Join Date
    Mar 2006
    Location
    Craiova, Romania
    Posts
    439

    Re: Windows Icons

    That is easy for VS 2005. Click the smart tag glyph () so the ToolStrip Tasks dialog appears and select Insert Standard Items.
    Tell me if it works for VS2003 also.
    http://msdn2.microsoft.com/en-us/library/571c1z99.aspx
    Last edited by creatorul; September 19th, 2006 at 04:43 AM.
    Bogdan

    If someone helped you then please Rate his post and mark the thread as Resolved
    Please improve your messages appearance by using tags [ code] Place your code here [ /code]

  3. #3
    Join Date
    Jan 2003
    Posts
    615

    Re: Windows Icons

    Thanks for the reply.

    Could not find the toolstrip component in Toolbox->Windows Forms.

    Any other solution?

  4. #4
    Join Date
    Jan 2003
    Posts
    615

    Re: Windows Icons

    Did a quick google and found Top Ten Visual Studio 2005 Enhancements for Windows Forms Development .

    2. Office 2003 look-and-feel using Toolstrips

    Visual Studio 2005 provides Toolstrip controls that consist of menus, toolbars, context menus, and status bars that provide the same look and feel as Office 2003 applications. Now, applications you develop with Visual Studio 2005 will have thesame professional look and feel as Office 2003. With the current development environment, you would need to purchase third-party menu and toolbar controls to get the same look and feel as Office 2003.

  5. #5
    Join Date
    Mar 2006
    Location
    Craiova, Romania
    Posts
    439

    Re: Windows Icons

    ToolStrip comes with .NET Framework 2.0 and ToolBar is retained for backward compatibility.
    If you use VS .NET and .NET 1.1 I'm afraid you have to design your own buttons for load, save etc.
    Bogdan

    If someone helped you then please Rate his post and mark the thread as Resolved
    Please improve your messages appearance by using tags [ code] Place your code here [ /code]

  6. #6
    Join Date
    Aug 2003
    Location
    London
    Posts
    515

    Re: Windows Icons

    There's open source stuff out there for the Office 2003 feel....check out

    http://www.codeproject.com/cs/menu/M...e2003Menus.asp

    ...theres loads of other articles on this, you should be able to find something you can use.

    As far as icons go, there are a few sites that have open source stuff as well...

    Think a lot of the XP ones are here...
    http://www.vbaccelerator.com/home/Re...cons/index.asp

    These are more custom, but are still pretty good!
    http://www.fasticon.com/downloads.html
    If it helped, then please rate the post by clicking "Rate this post"!

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