COleControl::InitializeIIDs

Informs the base class of the IIDs the control will use.

void InitializeIIDs(
   const IID* piidPrimary,
   const IID* piidEvents 
);

Parameters

  • piidPrimary
    Pointer to the interface ID of the control's primary dispatch interface.

  • piidEvents
    Pointer to the interface ID of the control's event interface.

Remarks

Call this function in the control's constructor to inform the base class of the interface IDs your control will be using.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

Other Resources

COleControl Members