Export (0) Print
Expand All
TRY
Expand Minimize

DECLARE_OLECTLTYPE

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

DECLARE_OLECTLTYPE(class_name )

Parameter

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.

See Also

MFC Macros and Globals | IMPLEMENT_OLECTLTYPE

Show:
© 2014 Microsoft