BUG: Editing Compiled Resource Causes Them to Dissappear

ID: Q193217


The information in this article applies to:
  • Microsoft Visual C++, 32-bit Editions, versions 5.0, 6.0


SYMPTOMS

Strings in a combo box disappear when the executable is opened as a resource in Visual Studio.


RESOLUTION

Place all strings in a string table and dynamically load string resources.


STATUS

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


MORE INFORMATION

Steps to Reproduce Behavior



  1. Create a MFC dialog-based application.


  2. Add a combo box.


  3. Add values to the combo box (String 1, String 2, String 3). To add strings:

    1. Click Properties on the combo box menu.


    2. Click the data tab.


    3. Enter data in box.


    NOTE: Each data entry must be followed by CTRL+ENTER to separate the items.


  4. Build the exe.


  5. Open the exe as a resource.


  6. Save the exe.


  7. Run the exe and click the drop down.


RESULTS: The values have disappeared.

Additional query words: combobox dropdown

Keywords : kbEditor kbide kbResource kbResourceEd kbVC500bug kbVC600bug kbGrpDSTools
Version : WINNT:5.0,6.0
Platform : winnt
Issue type : kbbug


Last Reviewed: July 23, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.