I am coming from VB and one can just righ-click on a form and rename it.
How do I do this in VC++?
TIA,

Signature
Anil Gupte
www.keeninc.net
www.icinema.com
Carl Daniel [VC++ MVP] - 25 Nov 2007 17:13 GMT
> I am coming from VB and one can just righ-click on a form and rename
> it. How do I do this in VC++?
Honestly, the best way is to not do forms programming in C++. Use C# to
build a user interface for your core functionality implemented in C++/CLI.
If you really want to rename a form, you need to rename all of the bits
individually - the .h file, the .cpp file (if there is one), the class
declaration, any typedefs or other uses of the class name, and I think there
are 1 or two designer-generated literal strings containing the form name as
well.
It's a PITA.
-cd
Peter Anthony - 26 Nov 2007 19:04 GMT
Since you are asking in a managed VC++ newsgroup, I'll assume you are
programming using managed code:
Form form ;
form.Text = "form title" ;
[==P==]
>I am coming from VB and one can just righ-click on a form and rename it.
>How do I do this in VC++?
>
> TIA,