BUG: Custom Sub Menu Item Locks Developer Studio

ID: Q192566

The information in this article applies to:

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.

6. 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.

MORE INFORMATION

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.

REFERENCES

For additional information, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE-ID: Q192568
   TITLE     : BUG: Nested Custom Menus Revert to Their Default Names

   ARTICLE-ID: Q192567
   TITLE     : BUG: Developer Studio Generates Duplicate Custom Menu Names

   ARTICLE-ID: Q192565
   TITLE     : BUG: Custom Menus Disappear from the Main Menu Bar

For Visual C++ 5.0, Visual InterDev 1.0, and Visual J++ 2.0, please see the following online documentation:

   "Customizing Toolbars and Menus"; Developer Products | Visual C++ |
   Developer Studio Environment User's Guide | Customizing Developer
   Studio | How Do I...Topics: Customizing Developer Studio |
   Customizing Toolbars and Menus

For Visual C++ 6.0, please see the following online documentation:

   "Customizing Toolbars and Menus"; Visual C++ Documentation | Using
   Visual C++ | Visual C++ User's Guide | The Visual C++ Environment |
   Customizing Visual C++ | How Do I...Topics: Customizing
   Developer Studio | Customizing Toolbars and Menus

Additional query words:
Keywords          : kbide kbVC500 kbVC600 kbVisID600 kbVJ600 kbDevStudio 
Issue type        : kbbug
Solution Type     : kbpending

Last Reviewed: October 3, 1998