Partager via


IMPLEMENT_OLECREATE_EX

Implements your control's class factory and the GetClassID member function of your control class.

IMPLEMENT_OLECREATE_EX(class_name, external_name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8 )

Parameters

  • class_name
    The name of the control property page class.

  • external_name
    The object name exposed to applications.

  • l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8
    Components of the class's CLSID. For more information on these parameters, see the Remarks for IMPLEMENT_OLECREATE.

Remarks

This macro must appear in the implementation file for any control class that uses the DECLARE_OLECREATE_EX macro or the BEGIN_OLEFACTORY and END_OLEFACTORY macros. The external name is the identifier of the OLE control that is exposed to other applications. Containers use this name to request an object of this control class.

Requirements

Header: afxdisp.h

See Also

Concepts

MFC Macros and Globals

DECLARE_OLECREATE_EX

BEGIN_OLEFACTORY

END_OLEFACTORY

IMPLEMENT_OLECREATE