Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Alt+G 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 - Nov 22 2007 : 05:10:45 AM
Inheritence as follows:
CMyDialog -> CPrintableDialog -> CDialogEx -> CDialog
In CMyDialog::OnInitDialog():
CPrintableDialog::OnInitDialog();
...
...
If I select CPrintableDialog::OnInitDialog and press Alt+G, OnInitDialog in DialogEx.cpp/DialogEx.h are listed!

VS.NET 2003, VAX 1618.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Nov 22 2007 : 1:55:17 PM
If you try alt-g again does the same thing happen?
If you place the caret into the call:

CPrintableDialog::OnInitDialog();

what does VA show in the context and definition fields?

As a simplified test I have just added the following code to a C++ header file:

class testAltGBaseClass
{
public:
	virtual void OnInitDialog()	{ }
};

class testAltGChildClass : public testAltGBaseClass
{
public:
	virtual void OnInitDialog()	{ }
};

class testAltGGrandchildClass : public testAltGChildClass
{
public:
	virtual void OnInitDialog()
	{
		// test alt-g on this function call
		testAltGChildClass::OnInitDialog();
	}
};

using VS2005 and VA 1618, and Alt-g takes me to the correct place in the header file.

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