Click here to Skip to main content
16,005,038 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMFC manipulating data Pin
hugPW18-Jan-05 1:33
hugPW18-Jan-05 1:33 
GeneralRe: MFC manipulating data Pin
Selvam R18-Jan-05 2:28
professionalSelvam R18-Jan-05 2:28 
GeneralRe: MFC manipulating data Pin
hugPW18-Jan-05 3:46
hugPW18-Jan-05 3:46 
GeneralRe: MFC manipulating data Pin
David Crow18-Jan-05 4:13
David Crow18-Jan-05 4:13 
GeneralRe: MFC manipulating data Pin
hugPW18-Jan-05 5:19
hugPW18-Jan-05 5:19 
GeneralRe: MFC manipulating data Pin
hugPW18-Jan-05 6:05
hugPW18-Jan-05 6:05 
GeneralRe: MFC manipulating data Pin
David Crow18-Jan-05 6:12
David Crow18-Jan-05 6:12 
GeneralRe: MFC manipulating data Pin
hugPW18-Jan-05 6:32
hugPW18-Jan-05 6:32 
Now we are really getting somewhere!
code looks like this

void CReverseView::OnReverse()
{

// TODO: Add your command handler code here
CEdit &edit = GetEditCtrl();

CString strText;

edit.GetWindowText(strText);


_strrev(strText);


edit.SetWindowText(strText);

GetDocument()->SetModifiedFlag(TRUE) ;

}

doesn't like _strrev, get this error. After that it should work!

error C2664: '_strrev' : cannot convert parameter 1 from 'class CString' to 'char *'

I was going to write my own bit of code but if the function exists I might as well use it.

Thank you I really appreciate this help.

GeneralRe: MFC manipulating data Pin
David Crow18-Jan-05 7:04
David Crow18-Jan-05 7:04 
GeneralRe: MFC manipulating data Pin
hugPW18-Jan-05 7:39
hugPW18-Jan-05 7:39 
GeneralDisable/Enable OK button in a property sheet Pin
Rajesh_K_Sharma18-Jan-05 1:01
Rajesh_K_Sharma18-Jan-05 1:01 
GeneralRe: Disable/Enable OK button in a property sheet Pin
Selvam R18-Jan-05 2:15
professionalSelvam R18-Jan-05 2:15 
Generalusing CDHtmlDialog for 2 html files Pin
lirik17-Jan-05 23:52
lirik17-Jan-05 23:52 
GeneralI have a Serious Problem Pin
pubududilena17-Jan-05 22:57
pubududilena17-Jan-05 22:57 
GeneralRe: I have a Serious Problem Pin
David Crow18-Jan-05 4:17
David Crow18-Jan-05 4:17 
GeneralRe: I have a Serious Problem Pin
Blake Miller18-Jan-05 4:41
Blake Miller18-Jan-05 4:41 
GeneralRe: I have a Serious Problem Pin
pubududilena18-Jan-05 15:14
pubududilena18-Jan-05 15:14 
GeneralRe: I have a Serious Problem Pin
Blake Miller19-Jan-05 4:13
Blake Miller19-Jan-05 4:13 
GeneralRe: I have a Serious Problem Pin
pubududilena19-Jan-05 21:06
pubududilena19-Jan-05 21:06 
GeneralAnother question to threads Pin
doneirik17-Jan-05 22:49
doneirik17-Jan-05 22:49 
GeneralRe: Another question to threads Pin
Antony M Kancidrowski18-Jan-05 2:34
Antony M Kancidrowski18-Jan-05 2:34 
GeneralRe: Another question to threads Pin
includeh1018-Jan-05 4:02
includeh1018-Jan-05 4:02 
QuestionHow change the backgound Color of Dialog Form Pin
phijophlip17-Jan-05 21:58
phijophlip17-Jan-05 21:58 
AnswerRe: How change the backgound Color of Dialog Form Pin
Aamir Butt17-Jan-05 23:08
Aamir Butt17-Jan-05 23:08 
AnswerIn Conjunction With Mr Bhatt Pin
ThatsAlok18-Jan-05 0:41
ThatsAlok18-Jan-05 0:41 

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.