Search Multiple Occurences In RichEdit
-
i am new user to richedit . i am using CRichEditCtrl class. i am using the FindText function for finding a text but it returns only the first occurence. So Please Help Me. Remember Using CRichEditCtrl class .not RichEdit Doc/View
-
i am new user to richedit . i am using CRichEditCtrl class. i am using the FindText function for finding a text but it returns only the first occurence. So Please Help Me. Remember Using CRichEditCtrl class .not RichEdit Doc/View
The
FINDTEXT
structure takes aCHARRANGE
that indicates the range of text to search. When searching for the "next" or "previous" match, you set the range to exclude previously searched texts (e.g. you start the search at the end of the last found match). Peace!-=- James
Please rate this message - let me know if I helped or not! * * *
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles