Board index » Visual Studio » Add Variable to dialog in VS.NET2005 works differently than (fails) VS.NET2003
|
CCross
|
Add Variable to dialog in VS.NET2005 works differently than (fails) VS.NET2003
Visual Studio267
I am working with a project ported from .NET2003 to .NET2005. I want to add a variable that should be tied to an edit box in a dialog. I select the edit box in Resource View and right click, then select the "Add Variable..." menu item. In the "Add Member Variable Wizard" I change the Category to "Value" and the variable type changes to CString. The control ID verifies that I'm working with my edit box. I enter the variable name as m_sQQQ (so I won't miss it anywhere) and click on Finish. No sign of this new variable anywhere in the Current Project. The dialog is associated with a class CPropPageTLE and I would have expected the variable would have been inserted in that class as well as the associated DDX statement in the DoDateExchange(...) routine to access the variable. Nothing has been inserted in either the header of the .cpp file. That's the way I would have done it using VS.NET 2003. VS.NET 2005 doesn't seem to do the same thing! Is there a different way of doing this in .NET 2005? Ed Mitchell -- -- Edward E.L. Mitchell Web: www.racesail.org Phone: (508)771-0806 500 Ocean St., Unit 134, Hyannis, MA 02601 - |
