Click here to Skip to main content
15,896,154 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CRichEditView / CCTrlView text selection autocompletion Pin
Vaclav_11-Dec-07 6:10
Vaclav_11-Dec-07 6:10 
QuestionRelated to ocx Pin
Peter Parker11-Dec-07 2:31
Peter Parker11-Dec-07 2:31 
GeneralUhm... Pin
CPallini11-Dec-07 2:52
mveCPallini11-Dec-07 2:52 
JokeRe: Uhm... Pin
Cedric Moonen11-Dec-07 3:00
Cedric Moonen11-Dec-07 3:00 
GeneralRe: Uhm... Pin
toxcct11-Dec-07 3:02
toxcct11-Dec-07 3:02 
GeneralRe: Uhm... Pin
CPallini11-Dec-07 3:05
mveCPallini11-Dec-07 3:05 
GeneralRe: Uhm... Pin
toxcct11-Dec-07 3:03
toxcct11-Dec-07 3:03 
GeneralNope Pin
CPallini11-Dec-07 3:09
mveCPallini11-Dec-07 3:09 
QuestionWin32 SDK Save as Dialog Pin
sunsen11-Dec-07 2:03
sunsen11-Dec-07 2:03 
QuestionRe: Win32 SDK Save as Dialog Pin
David Crow14-Mar-08 5:57
David Crow14-Mar-08 5:57 
Generalserialization Pin
KASR111-Dec-07 1:09
KASR111-Dec-07 1:09 
GeneralRe: serialization Pin
Nelek11-Dec-07 1:33
protectorNelek11-Dec-07 1:33 
GeneralRe: serialization Pin
toxcct11-Dec-07 1:39
toxcct11-Dec-07 1:39 
QuestionToolbar in dialog caption. Pin
Paresh Chitte11-Dec-07 1:02
Paresh Chitte11-Dec-07 1:02 
GeneralRe: Toolbar in dialog caption. Pin
CPallini11-Dec-07 2:01
mveCPallini11-Dec-07 2:01 
GeneralInitilize value Pin
wira1guys11-Dec-07 0:38
wira1guys11-Dec-07 0:38 
GeneralRe: Initilize value Pin
Naveen11-Dec-07 0:59
Naveen11-Dec-07 0:59 
GeneralRe: Initilize value Pin
wira1guys11-Dec-07 16:59
wira1guys11-Dec-07 16:59 
GeneralRTF file Pin
CodingLover11-Dec-07 0:32
CodingLover11-Dec-07 0:32 
GeneralRe: RTF file Pin
CPallini11-Dec-07 0:57
mveCPallini11-Dec-07 0:57 
GeneralRe: RTF file Pin
CodingLover11-Dec-07 18:46
CodingLover11-Dec-07 18:46 
QuestionRe: RTF file Pin
CPallini11-Dec-07 21:34
mveCPallini11-Dec-07 21:34 
GeneralRe: RTF file Pin
CodingLover11-Dec-07 21:42
CodingLover11-Dec-07 21:42 
I've only use standard header files.

Actually I can solve it just passing the CString to the getText function as follows.

CString getText(const CString rtf)

But why I can't pass the string as reference.

Also, I want to find the '\pard' string of the full string and replace it with '['. I tried this,

rtf.Replace(_T("\\pard"), _T("["));

It gives another error,

'ATL::CStringT<basetype,stringtraits>::Replace' : 2 overloads have no legal conversion for 'this' pointer<br />
        with<br />
        [<br />
            BaseType=char,<br />
            StringTraits=StrTraitMFC_DLL<char><br />
        ]</char></basetype,stringtraits>


What is mean, I've try this before search the string(ie: before the for loop)

I appreciate your help all the time...
Eranga Smile | :)

GeneralRe: RTF file Pin
CPallini11-Dec-07 21:53
mveCPallini11-Dec-07 21:53 
GeneralRe: RTF file Pin
CodingLover11-Dec-07 22:03
CodingLover11-Dec-07 22:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.