How To Add File Filters to Visual C++ Version 2.0Last reviewed: March 13, 1996Article ID: Q124290 |
The information in this article applies to:
SUMMARYAdding file filters is an all or nothing process; the process overrides all of the default file filters intrinsic to Visual C++. This article gives you a step-by-step way to add file filters to the Microsoft Visual C++ development environment. NOTE: This functionality was unsupported in Visual C++ 2.0 and was removed from Visual C++ 4.0. WARNING: This process involves modifying the system registry, a process usually done by applications, not people. Errors in editing the registry may result in undefined behavior. The use of the registry to override the default file filters in Visual C++ may be revised in future versions of Visual C++.
MORE INFORMATION
Step-by-Step Method to Add File Filters to Visual C++
File Filter Entry List for Default File Filters for Visual C++
Key Name: Software\Microsoft\Visual C++ 2.0\File Filters
Name: CommonOpen Data: Common Files (*.mak;*.c;*.cpp;*.cxx;*.h;*.rc) Name: CommonProject Data: Common Files (*.c;*.cpp;*.cxx;*.rc;*.def;*.odl) Name: Filter1 Data: 7,Source Files (*.c;*.cpp;*.cxx) Name: Filter2 Data: 7,Header Files (*.h;*.hpp;*.hxx) Name: Filter3 Data: 7,Resource Files (*.rc) Name: Filter4 Data: 1,Image Files (*.bmp;*.dib;*.ico;*.cur) Name: Filter5 Data: 5,Projects (*.mak) Name: Filter6 Data: 1,Browse Info Files (*.bsc) Name: Filter7 Data: 1,Executable Files (*.exe;*.dll;*.drv) Name: Filter8 Data: 7,Definition Files (*.def) Name: Filter9 Data: 2,Object Description Files (*.odl) Name: Filter10 Data: 2,Library Files (*.lib) Name: Filter11 Data: 2,Object Files (*.obj)Each data field begins with a number. The number is a bit-field that indicates what kind of lists that should use the filters:
NOTE: If the Visual C++ version 2.0 registry is corrupted, it may be deleted. The next time you run Visual C++, you will be warned that the registry does not exist and a new, default registry will be built.
|
Additional reference words: kbinf 9.00 2.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |