Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Create implementation bug!

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
znakeeye Posted - Sep 21 2007 : 04:38:10 AM
Created a new dialog-based application and typed this in the header file:

virtual BOOL PreTranslateMessage(MSG *pMsg);


Then I selected "Create implementation" and this code was generated:


BEGIN_MESSAGE_MAP(CVAXDemoDlg, CDialog)

	BOOL CVAXDemoDlg::PreTranslateMessage( MSG* pMsg )
{

}
	ON_WM_PAINT()
	ON_WM_QUERYDRAGICON()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()


Basically, the Create Implementation feature is worthless when a message map is present.
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Sep 24 2007 : 12:10:51 PM
Then you are probably seeing case=7251

The original thread is here: http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=6197
In this case it only happens under very specific conditions. If the conditions are not "just right" it only goes wrong very rarely, at random.
znakeeye Posted - Sep 22 2007 : 05:23:03 AM
VS 2003 .NET + VAX 1561.

The weird thing is that I tried this later the same day, and it worked as expected.
feline Posted - Sep 21 2007 : 10:27:59 AM
Which IDE and version of VA are you using?

I have just created a new C++ win32 project in VS2005 and a find in files does not find any sign of a message map anywhere. So I assume you have done something else.

There is one known case where this happens:

case=7251

however the effect is very fragile, and difficult to reproduce. Certainly it does not happen all the time, or even most of the time for me.

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