Compartir a través de


IsATLProject

Indicates whether project is ATL-based.

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

Tasks

Creating a Custom Wizard

Reference

IsAttributedProject

Concepts

Customizing C++ Wizards with Common JScript Functions

Designing a Wizard

Other Resources

JScript Functions for C++ Wizards