Microsoft KB Archive/253748

From BetaArchive Wiki

Article ID: 253748

Article Last Modified on 11/18/2003


  • 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


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.


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.


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


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

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

    Cannot find the declaration of this function.


For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

196782 BUG: WizardBar Can't Delete Functions that Return void

Keywords: kbbug kbnofix kbide kbwizard KB253748