DOCUMENT:Q194840 11-FEB-2002 [visualc] TITLE :FIX: The "*" Key Does Not Expand All ClassView Branches Properly PRODUCT :Microsoft C Compiler PROD/VER::5.0,6.0 OPER/SYS: KEYWORDS:kbwizard kbClassView kbide kbVC500bug kbVC600bug kbGrpDSTools kbNoUpdate ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual C++, 32-bit Enterprise Edition, versions 5.0, 6.0 - Microsoft Visual C++, 32-bit Professional Edition, versions 5.0, 6.0 - Microsoft Visual C++, 32-bit Learning Edition, version 6.0 ------------------------------------------------------------------------------- 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. 4. Click once on the phrase "Active classes" in ClassView. 5. 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. 6. Press the ASTERISK (*) key again. Note that all classes are fully expanded, but the Globals branch remains collapsed. 7. Press the MINUS SIGN (-)to collapse the class information. 8. 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. Additional query words: ====================================================================== Keywords : kbwizard kbClassView kbide kbVC500bug kbVC600bug kbGrpDSTools kbNoUpdate Technology : kbVCsearch kbAudDeveloper kbVC500 kbVC600 kbVC32bitSearch kbVC500Search Version : :5.0,6.0 Issue type : kbbug Solution Type : kbfix ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2002.