I Already Use in Doc/View by do following:
I Creat my project with name CTestRichView which inherit from CviewEditCtrl you should see in step 6 of MFC widzard
Then int function CTestRichViewView::OnInitialUpdate()
you should insert:
CRTFBuilder b ;
b << size ( 35 )
<< color( 1 )
<< "The Title\n"
<< write( theRich ) ;
You remember include RichEditCtrlEx.h and Link file Lib
Hope you success
F:\visual C++\Edit\richeditctrlex\RichEditCtrlEx.h(103) : error C2440: 'initializing' : cannot convert from 'class std::list<class CString,class std::allocator<class CString> >::const_iterator' to 'class std::list<class CString,class std::allocator<
class CString> >::iterator'
No constructor could take the source type, or constructor overload resolution was ambiguous
F:\visual C++\Edit\richeditctrlex\RichEditCtrlEx.h(103) : error C2678: binary '!=' : no operator defined which takes a left-hand operand of type 'class std::list<class CString,class std::allocator<class CString> >::iterator' (or there is no acceptab
Error executing cl.exe.
i was able to select a text and make it bold, now i want store the content in a file,the problem is that i want the text that was bold to be stored in the file with the tag <bold>, is it possible to find the text that has been made bold in rich text box control,
thank you in advance
In my application, i use a CRitchEditCtrl to show a text. I change the char type between Arial to Symbol, and i do it with the method SetSelectionCharFormat. But Windows 2000 don't change the char type because don't untherstand this method. I would like to know what can i do, if i have to use a library, or header file or if i need a compiler more actual. Thank you and sorry because my English is very bad.
I need some help in dealing with this richeditctrl.
i want to get any message or make any change when I click on the richeditctrl.
I need some more help on the "CRichEditDtrl::FindText" function. I always get (-1) as its return value, eventhough the text i'm looking for is shown in the richeditctrl.
I will be so greatful if anyone could help!
We need to implement this column marking in a rich-edit-ctrl. This feature is available in many editors - Msdev, MsWord etc. You can select a vertical block by dragging left-Mouse-down with Alt key pressed. You can cut, copy, delete or paste the column-marked selection. It is very useful feature in any edit control.
Can anyone tell me how to enable this feature for rich-edit-control or how can it be implemented?