Controls that you add to a Windows form disappear when you close and reopen the Windows form in Visual C++ .NET 2003 or in Visual C++ 2005 (836732)
The information in this article applies to:
- Microsoft Visual C++ .NET (2003)
- Microsoft Visual C++ 2005 Express Edition
SYMPTOMSYou add a control to a Windows
form in Microsoft Visual C++ .NET 2003 or in Microsoft Visual C++ 2005, and then you click the Close button (X) to quit Design view. You are prompted to save changes to the header file of the form. Even if you save
your changes when you are prompted with a dialog box, and then you reopen the Windows form, you notice that the added
control disappears.
Note You notice this problem only if you click the Close button to quit Design view.STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section of this article.WORKAROUNDTo work around this problem, use one of the following
methods to quit Design view:
- Switch to Code view, and then switch back to Design view
before you click the Close button.
- On the File
menu, click Close.
- Click the Save button on the toolbar before you click the Close button.
Modification Type: | Major | Last Reviewed: | 1/11/2006 |
---|
Keywords: | kbWindowsForms kbManaged kbide kbForms kbDesigner kbControl KbUIDesign kbprb KB836732 kbAudDeveloper |
---|
|