How to Add Windows 95 Controls to Visual C++ 2.0 Dialog Editor

Last reviewed: October 10, 1997
Article ID: Q125686
2.00 4.00 | 2.00 3.51
WINDOWS   | WINDOWS NT
kbui

The information in this article applies to:
  • Microsoft Win32 Application Programming Interface (API) included with:

        - Microsoft Windows NT version 3.51
        - Microsoft Windows 95 version 4.0
    
  • Microsoft Visual C++ version 2.0

SUMMARY

When using Visual C++ version 2.0 on Windows 95, the Windows 95 common controls do not appear by default on the control palette in the Visual C++ Dialog Editor. Many of these controls may be added, however, by adding an entry into the registry.

MORE INFORMATION

To add buttons in the Dialog Editor's control palette for TreeView, ListView, HotKey, Trackbar, Progress, and UpDown controls:

  1. Run REGEDIT from the start menu.

  2. Select:

    HKEY_CURRENT_USER\Software\Microsoft\Visual C++ 2.0 Dialog Editor

  3. Select the New, Binary Value option from the Edit Menu.

  4. Rename the new entry "ChicagoControls" without the quotation marks.

  5. Select Modify from the edit menu to change the value of ChicagoControls to 01 00 00 00. The editor will add the spaces between each pair of digits.

  6. Exit REGEDIT.

  7. Restart Visual C++ version 2.0.


Additional reference words: 2.00 4.00
KBCategory: kbui
KBSubcategory: UsrCtl


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.

Last reviewed: October 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.