Hi all,
We created a RichTextControl and added a Bar Menu based on your
How to: Create a Simple Word Processor with Bar Menu
http://documentation.devexpress.com/#WindowsForms/CustomDocument5807
All works fine, until we used the control on a MFC-Dialog.
There occurs a wrong behaviour with the formatting toolbars:
We attached a sample MFC-Project of Microsoft
http://msdn.microsoft.com/en-us/library/ms239718%28v=vs.80%29.aspx
and added the RichTextControl to it.
Steps to reproduce:
Start the MFC04.exe,
click New,
then select Dialog,
click Ok and then
click one of the Open buttons.
Type some text into the control,
select a part of it and
change the style with the toolbarbuttons (Bold, Italic …)
Now move the caret into the not formatted text
-> the buttons (you selected before) aren't reseted to match the formating of the text at the caret.
This behaviour only occurs when we use the control on a MFC-Dialog. It also happens when we use newer versions (till 12.1).
On a Winform it works fine.
Do you have an idea what we could try?
Thanks in advance
Kerstin