CanAddNonAttributed
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 CanAddNonAttributed.
Indicates that the ATL project supports nonattributed objects.
function CanAddNonAttributed( );
true if the project supports nonattributed and attributed ATL objects; false if the project supports only attributed projects.
Call this function to indicate whether the project supports both nonattributed and attributed objects.
// Check if attributed project using CanAddNonAttributed
window.external.Load(document);
if (IsAttributedProject(window.external))
{
ATTRIBUTED.checked = true;
if (!CanAddNonAttributed())
ATTRIBUTED.disabled = true;
}
Customizing C++ Wizards with Common JScript Functions
JScript Functions for C++ Wizards
Creating a Custom Wizard
Designing a Wizard
Concepts
CanAddClass