BUG: Nested Custom Menus Revert to Their Default Names (192568)



The information in this article applies to:

  • Microsoft Visual Studio 97
  • Microsoft Visual Studio, Enterprise Edition 6.0
  • Microsoft Visual C++, 32-bit Professional Edition 5.0
  • Microsoft Visual C++, 32-bit Professional Edition 6.0
  • Microsoft Visual Basic Enterprise Edition for Windows 5.0
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0

This article was previously published under Q192568

SYMPTOMS

Nested Custom Menu items revert to their default "Custom Menu #" name after you restart Developer Studio twice.

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 space on the toolbar.
  4. A disabled menu "Custom Menu 1" will appear. Click it once and an empty menu should drop down from it.
  5. Add a command to the Custom Menu 1 menu by selecting File from the Category list and dragging the File "New" image to the custom menu.
  6. Right-click Custom Menu 1, and click Button Appearance.
  7. Change the name from Custom Menu 1 to TEST.
  8. Repeat steps 2 through 6; however, make the new menu a submenu of TEST by placing it on the TEST menu.
  9. Rename the new submenu from Custom Menu 2 to SUB1.
  10. Exit Developer Studio.
  11. Start Developer Studio and verify the custom menu and submenu names.
  12. Exit Developer Studio.
  13. Start Developer Studio and click TEST once.
RESULTS: SUB1 has reverted back to the default name Custom Menu 2.

REFERENCES

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

192567 BUG: Developer Studio Generates Duplicate Custom Menu Names

192566 BUG: Custom Sub Menu Item Locks Developer Studio

192565 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


Modification Type:MinorLast Reviewed:8/12/2005
Keywords:kbbug kbDevStudio kbide kbpending KB192568