CRichEditCtrl question?
-
I am little new to GUI programming and especially CRichEditCtrl class. How can i implement the below using CRichEditCtrlView: For example in Wordpad if i open a new text document and uses some rich editing feautres then while saving the file it asks me "saving the file in text format looses formatting features." How do i really detect whether user has used any rich editing feautres in a text document of CRichEditCtrlView
-
I am little new to GUI programming and especially CRichEditCtrl class. How can i implement the below using CRichEditCtrlView: For example in Wordpad if i open a new text document and uses some rich editing feautres then while saving the file it asks me "saving the file in text format looses formatting features." How do i really detect whether user has used any rich editing feautres in a text document of CRichEditCtrlView
-
I am little new to GUI programming and especially CRichEditCtrl class. How can i implement the below using CRichEditCtrlView: For example in Wordpad if i open a new text document and uses some rich editing feautres then while saving the file it asks me "saving the file in text format looses formatting features." How do i really detect whether user has used any rich editing feautres in a text document of CRichEditCtrlView
Use the m_bRTF boolean of the CRichEditDoc class. You can set it to TRUE or FALSE depending whether you want to save as RTF or plain text respectively. Best regards, Alexandru Savescu
-
Use the m_bRTF boolean of the CRichEditDoc class. You can set it to TRUE or FALSE depending whether you want to save as RTF or plain text respectively. Best regards, Alexandru Savescu
I think what he's asking about is weather the user has actually used any RTF in the document, not how to choose which format to save in. Unfortunately I can't think of any simple ansawer to that question :(