FIX: Visual C++ .NET Menu Editor Changes IDs to Numeric Values (811515)



The information in this article applies to:

  • Microsoft Visual C++ .NET (2002)

CPR - VS .NET - Hotfix in SP1

SYMPTOMS

The Visual C++ .NET menu editor changes menu IDs from strings to numeric values when you change IDs in Properties.

RESOLUTION

A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version     Size       File name
   ------------------------------------------------------
   15-Dec-2002  00:16  7.0.9648.0  2,105,344  Resedit.dll

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Steps to Reproduce the Behavior

  1. Create a default MFC MDI Application.
  2. Open the menu resource IDR_MAINFRAME.
  3. Select a child menu item such as File | Save.
  4. In Properties, change the ID of File | Save from ID_FILE_SAVE to another value, such as ID_PREV_PANE.
  5. Save all, and then open the .rc file in Notepad. You should see the following:
    IDR_MAINFRAME MENU 
    BEGIN
        POPUP "&File"
        BEGIN
            MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
            MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
            MENUITEM "&Save\tCtrl+S",               57681 <----- numeric instead of string
    

Modification Type:MinorLast Reviewed:9/27/2005
Keywords:kbHotfixServer kbQFE kbbug kbQFE kbfix KB811515