IsATLProject

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at IsATLProject.

Indicates whether project is ATL-based.

Syntax

  
      function IsATLProject(   
   oProj    
);  

Parameters

oProj
The selected project.

Return Value

true if the project is an ATL project; otherwise, false.

Remarks

Indicates whether project is ATL-based.

Example

function CanAddATLSupport(selProj, selObj)  
{  
   if (IsATLProject(selProj))  
   {  
      var L_ErrMsg1_Text = "Current project already has ATL support.";  
      wizard.ReportError(L_ErrMsg1_Text);  
      return false;  
   }  

See Also

Customizing C++ Wizards with Common JScript Functions
JScript Functions for C++ Wizards
Creating a Custom Wizard
Designing a Wizard
IsAttributedProject