开发者

Can i display multiple views of the same file with CRichEditCtrl?

I have to CRichEditCtrl controls in a dialog window with multiple tabs which开发者_如何学运维 might display the same file.

How can i synchronize the editing in them?


If you are using CPropertySheet and CPropertyPage for multiple-tab support, you may override CPropertyPage::OnSetActive and CPropertyPage::OnKillActive. Set the current text in OnKillActive and set the same text for other tab that is going to be active (in OnSetActive).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜