IMPLEMENT_DYNAMIC Macro

Syntax

IMPLEMENT_DYNAMIC( className,baseClassName )

Parameters

className

The name of the class that you want to be compliant with the ability of class CObject to supply dynamic run-time information.

baseClassName

The name of the base class of your compliant class.

Remarks

Use in your .CPP file in conjunction with the DECLARE_DYNAMIC macro in your .H file to allow your class to supply dynamic run-time information. This allows you to query an object with the IsKindOf member function in class CObject to determine its class and base class names. For discussion and examples, see the Class Libraries User's Guide, Chapter 8, “The CObject Class.”

See Also

DECLARE_DYNAMIC, CObject