Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds source, include, and resource filters for the project folders.
function SetFilters(
oProj
);
Parameters
- oProj
The selected project.
Remarks
Call this function to add source, include, and resource filters for the project folders. This function finds the following symbols in the project:
SOURCE_FILTER
INCLUDE_FILTER
RESOURCE_FILTER
These symbols contain the file extensions used in filtering.
Example
// Create and set the project name and path.
selProj = CreateProject(strProjectName, strProjectPath);
// Add the previously-identified configurations to the project.
AddConfigurations(selProj, strProjectName);
// Set filters for the project.
SetFilters (selproj);
// Indicate that the project is an ATL project.
selProj.Object.keyword = "AtlProj";
See Also
Tasks
Concepts
Customizing C++ Wizards with Common JScript Functions