Share via


IsAttributedProject

Indicates whether a project is attributed.

function IsAttributedProject( 
   owizard  
);

Parameters

  • owizard
    The wizard object.

Return Value

true if the project is attributed; otherwise, false.

Remarks

Indicates whether a project is attributed.

Example

function CheckAddtoProject(oProj)
{
   try
   {
      if (!IsAttributedProject(wizard))
      {
         if (!ConvertProjectToAttributed(oProj))
            return false;
       }
   }
   catch (e)
   {
      var L_ErrMsg1_Text = "Error in CheckAddtoProject: ";
         wizard.ReportError( L_ErrMsg1_Text + e.description);
         return false;
   }

   return true;
}

See Also

Tasks

Creating a Custom Wizard

Concepts

Customizing C++ Wizards with Common JScript Functions

Designing a Wizard

Reference

IsATLProject

IsMFCProject

Other Resources

JScript Functions for C++ Wizards