CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2002
    Location
    Chicago, IL
    Posts
    255

    ToolStrip container and icons

    Hello -

    I have an icon that contains various image sizes that are optimized for alpha channels and smoothed edges. It seems that the ToolStrip, however, doesn't allow me to use icons for the buttons - it only allows image files like BMPs, JPGs, or PNGs. This makes life hell for me. If I take an existing icon and add it as an image to my project, then use that image on a ToolStrip button, the IDE seems to convert it to a bitmap and it looses all the optimizations described above.

    In short, is it possible to use icons on a ToolStrip button such that it maintains any alpha channel and smoothing optimizations made in the icon file itself?

    Thanks in advance!

    - Steve

  2. #2
    Join Date
    Mar 2002
    Location
    Chicago, IL
    Posts
    255

    Re: ToolStrip container and icons

    I've answered my own question. I found a way to do it using ImageList objects.

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