windows toolbar dropdown button

Hi, All,

I have developed a window app in vs2003. On this form I have a toolbar. One of the button is of dropdown style. As it is right now, mouse clicks on the main icon area of the button will do nothing. Only clicks to its arrow down area (the narrower strip on right side) will make the dropdown menu show.

Does any one know how to make the click on the main icon area has the same effect as clicking on the down arrow

Also, I am converting my project to vs2005. Is there any new control in vs05 that will give me the feature

Thanks!



Answer this question

windows toolbar dropdown button

  • SQL_newbie

    Hi,

    In 2005 it's very simple. Just drag a ToolStrip control on your form, then add a DropDownButton control in the designer. The designer then asks for the items to display in the dropdown.

    Charles


  • Ri-Karou

    I have heard of the ease of use of ToolStrip in vs2005.

    However, the thing I want to figure out is how compatible the 05 ToolStrip to 03 ToolBar, because I have many lines of code tied into the ToolBar, and I am not sure migrating it will cause any problem.

     


  • windows toolbar dropdown button