Microsoft KB Archive/192566

= BUG: Custom Sub Menu Item Locks Developer Studio =

Article ID: 192566

Article Last Modified on 8/11/2005

-

APPLIES TO


 * Microsoft Visual Studio 97 Service Pack 3
 * Microsoft Visual Studio 6.0 Enterprise Edition

-



This article was previously published under Q192566



SYMPTOMS
When working with Custom Menus, if you place a new Custom Menu on an existing Custom Menu that does not contain any menu items, Developer Studio locks up and must be shut down by using the Task Manager.



RESOLUTION
Before placing a new Custom Menu on an existing Custom Menu, place a menu item on the top-level menu.


 * 1) On the Tools menu, click Customize, and then click the Commands tab.
 * 2) In the Category list, select New Menu.
 * 3) Drag and drop the New Menu item from the Command list box to an empty spot in the toolbar docking area.
 * 4) A disabled menu "Custom Menu 1" will appear. Click it once and an empty menu should drop down.
 * 5) Add a command to the Custom Menu by selecting File from the Category list and dragging the File "New" image to the custom menu.

NOTE: You may use any of the other Developer Studio Commands.
 * 1) Add a submenu by selecting New Menu from the Category list and dragging the New Menu item from the Command list box to the Custom Menu created in step 3.

At this point, you may delete the Command added in step 5. This behavior exists for all submenus regardless of depth.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.



Steps to Reproduce Behavior

 * 1) On the Tools menu, click Customize, and then click the Commands tab.
 * 2) In the Category list, select New Menu.
 * 3) Drag and drop the New Menu item from the Command list box to an empty spot in the toolbar docking area.
 * 4) Click once on the new Custom Menu to expose an empty menu item.
 * 5) Drag and drop the New Menu item from the Commands list box to the empty menu item.
 * 6) Click Close on the Customize dialog box or click the new submenu.

RESULTS: Developer Studio locks up and must be shut down with the Task Manager.

