Share via


CanAddNonAttributed

Indicates that the ATL project supports nonattributed objects.

function CanAddNonAttributed( );

Return Value

true if the project supports nonattributed and attributed ATL objects; false if the project supports only attributed projects.

Remarks

Call this function to indicate whether the project supports both nonattributed and attributed objects.

Example

// Check if attributed project using CanAddNonAttributed
window.external.Load(document);
if (IsAttributedProject(window.external))
{
   ATTRIBUTED.checked = true;
   if (!CanAddNonAttributed())
      ATTRIBUTED.disabled = true;
}

See Also

Tasks

Creating a Custom Wizard

Concepts

Customizing C++ Wizards with Common JScript Functions

Designing a Wizard

Reference

CanAddClass

Other Resources

JScript Functions for C++ Wizards

Attributed Programming Concepts