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 )

class_name

The name of the control class.

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.

Header: afxctl.h

Community Additions

ADD
Show:
© 2014 Microsoft