当前位置: 动力学知识库 > 问答 > 编程问答 >

windows - How to have CRichEditView combined with MDI

问题描述:

CRichEditView (+ ~Doc and ~CntrItem) combined with MDI worked in a legacy MFC project (1998), but not anymore with the latest (11) version of MFC, using Visual Studio 2012 C++ professional.

Apparently, the CRichEditView.m_lpRichEditOle remains zeroNull0nada.

The same happens when I try to change the derivation from CDocument class in the MDI sample from MSDN (MDIDocvw) into CRichEditDoc class (and corresponding views and controlItems).

I need to know whether this is something definite, decided by Ms, or some misunderstanding here.

I might be happy as well with TabbedDI.

Thanks

分享给朋友:
您可能感兴趣的文章:
随机阅读: