Microsoft KB Archive/253748

= BUG: WizardBar Cannot Go to Declaration of Void Functions =

Article ID: 253748

Article Last Modified on 11/18/2003

-

APPLIES TO


 * Microsoft Visual C++ 6.0 Enterprise Edition
 * Microsoft Visual C++ 6.0 Professional Edition
 * Microsoft Visual C++ 6.0 Standard Edition

-



This article was previously published under Q253748



SYMPTOMS
Using the WizardBar to go to the declaration of a class member function that returns void generates the following message:

Cannot find the declaration of this function.



RESOLUTION
To navigate to the function declaration that returns void, find the function in the Class View. Right-click the function and select Go to declaration.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
WizardBar is a dockable toolbar that provides instant access to some of the most powerful features in Visual C++, such as those traditionally available from ClassWizard, as well as many of the new ClassView functions. WizardBar extends ClassView functionality by "tracking" your context, updating what's displayed in the WizardBar toolbar when your focus shifts.

Steps to Reproduce Behavior
 Create a default MFC AppWizard exe project, such as Test. Open the file TestView.cpp. Position the cursor on the OnDraw function (or on any other function that returns a void). Go to WizardBar and click on the WizardBar action icon or the drop-down list box next to it. Select Go to Function Declaration. The following error message appears:

Cannot find the declaration of this function.

</ol>

<div class="references_section">