Microsoft KB Archive/194840

= FIX: The "*" Key Does Not Expand All ClassView Branches Properly =

Article ID: 194840

Article Last Modified on 12/1/2003

-

APPLIES TO


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

-



This article was previously published under Q194840



SYMPTOMS
The ASTERISK (*) key does not expand the complete class information for a class selected in ClassView. On its first usage, the ASTERISK (*) key expands to a single level, much like the PLUS SIGN (+). Subsequently, it expands all levels with the exception of Globals, or it fails to display Globals and some interfaces in ActiveX projects.



RESOLUTION
Use the PLUS SIGN (+) or click the PLUS box with the mouse pointer first, then press the ASTERISK (*) key. You must still expand the Globals branch in a separate step.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

This problem was corrected in Microsoft Visual C++ .NET.



MORE INFORMATION
ClassView supports the cursor keys for navigation from the keyboard. It supports the PLUS SIGN (+) to expand a branch, and the MINUS SIGN (-) to collapse a branch. The ASTERISK (*) key has the special meaning "expand all."

Steps to Reproduce Behavior

 * 1) On the Visual C++ File menu, click New and then click the Projects tab.
 * 2) Select MFC ActiveX ControlWizard; name the project Active, and click OK.
 * 3) Click Finish, and then click OK to create the project.

In the new project, ClassView displays the following:

+ Active classes.
 * 1) Click once on the phrase "Active classes" in ClassView.
 * 2) Press the ASTERISK (*) key. Note that class names appear, but they are not expanded to display class information. Also, note that the interface _DActiveEvents appears.
 * 3) Press the ASTERISK (*) key again. Note that all classes are fully expanded, but the Globals branch remains collapsed.
 * 4) Press the MINUS SIGN (-)to collapse the class information.
 * 5) Press the ASTERISK (*) key again.

RESULT: After step 7, ClassView displays the entire class information tree fully expanded. However, the interface _DActiveEvents and the Globals branch are missing.

Keywords: kbbug kbfix kbnoupdate kbide kbclassview kbwizard KB194840

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.