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?
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
).