WordProcessorCommonCommandHelper_MFC < BASECLASS,CMD_INFO,CMD_ENABLER >
WordProcessorCommonCommandHelper_MFC < BASECLASS,CMD_INFO,CMD_ENABLER > ::ControlItemContextInternalizer
Some stuff which applies only to use of
Led_MFC along with
classes (e.g. OLE embeddings)
A Led embedding object for embedded OLE controls. Useful for applications which want to allow for embedded OLE objects. (these docs could really use embellishing!).
NB: This also supports the embedding format RTFIO::RTFOLEEmbedding::kEmbeddingTag.
WordProcessorCommonCommandHelper_MFC < BASECLASS,CMD_INFO,CMD_ENABLER > [public]
WordProcessorCommonCommandHelper < BASECLASS,CMD_INFO,CMD_ENABLER >where BASECLASS=
TextInteractorCommonCommandHelper_MFC < BASECLASS,CMD_INFO,CMD_ENABLER >, where BASECLASS is the baseclass arg to this template.
BASECLASS is generally
WordProcessorCommonCommandHelper for more details about the
template arguments - but note that CMD_ENABLER should typically be
To use this class, you must also define DoDeclare_WordProcessorCommonCommandHelper_MFC_MessageMap() to declare the actual message map for the template.
You may also want to use DoDeclare_WordProcessorCommonCommandHelper_MFC_MessageMapX() which is a short-cut for specifying both the DoDeclare_WordProcessorCommonCommandHelper_MFC_MessageMap and DoDeclare_TextInteractorCommonCommandHelper_MFC_MessageMap () macros.
WordProcessorCommonCommandHelper_MFC < BASECLASS,CMD_INFO,CMD_ENABLER > ::ControlItemContextInternalizer [public]
Add call to Led_MFC_ControlItem::DocContextDefiner so that we can instantiate OLE embeddings using the MFC mechanism.
Note - as of Led 3.0d6, and MSVC60SP3, we had to declare this here cuz I couldn't get it compiling when nested locally within the MakeDefaultInternalizer () function - which would probably have been better.
You may want to shut this off for building an OLE control itself. Or for building applications that don't want to include the OLE libaries.
Turn ON by default