DECLARE_OLECTLTYPE

Declares the GetUserTypeNameID and GetMiscStatus member functions of your control class.

DECLARE_OLECTLTYPE(class_name )

Parameters

  • class_name
    The name of the control class.

Remarks

GetUserTypeNameID and GetMiscStatus are pure virtual functions, declared in COleControl. Because these functions are pure virtual, they must be overridden in your control class. In addition to DECLARE_OLECTLTYPE, you must add the IMPLEMENT_OLECTLTYPE macro to your control class declaration.

Requirements

Header: afxctl.h

See Also

Reference

IMPLEMENT_OLECTLTYPE

Concepts

MFC Macros and Globals