Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

Requirements

Header: afxctl.h

Show: