CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2006
    Posts
    31

    Menustrip Icon Placeholder?

    How do you remove the gray bar that is a placeholder for icons that appear next to 'File', 'Open', etc.?

    I have an example of what I'm talking about here: http://www.flickr.com/photos/tineras/2138007107/

    I don't want the space at all. I don't plan on using icons and would like to remove the gray bar altogether.

    Thanks

  2. #2
    Join Date
    Feb 2006
    Posts
    31

    Re: Menustrip Icon Placeholder?

    I found a solution. This worked:

    Code:
    ((ToolStripDropDownMenu)(fileToolStripMenuItem.DropDown)).ShowImageMargin = false;

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