Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 rename the code inside //{{AFX_MSG_MAP(xxx)??

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
flyingxu Posted - Sep 26 2006 : 04:30:39 AM
I'm trying to use the rename feature,
but I find that VA fails to rename the code inside //{{AFX_MSG_MAP(xxx)?? (the class name string of xxx)
Can VA do that?
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Oct 02 2006 : 11:40:43 AM
using VC6 and VA 1535, both the rename and Find References features are missing the //{{AFX_MSG_MAP(xxx) line, but they are finding other lines.

VA is ignoring this line since it is a comment, and not live code.

I have just created a new MFC dialog based project in VC6 to test this. renaming the main dialog class via VA works, but it ignores all of these AFX_ lines. Having done this, when i use the class wizard to add a message map between a button and a function it creates the function, but for the old class name.

if i manually change all of the AFX_ comment lines that i can find the program still compiles, but the class wizard gets very upset and does not want to work any more, since it cannot find the class name it was using.

are you trying to rename a class that you manage via the class wizard? or is this a class you added and maintain manually?

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000