MDI with CRicheditView question
-
Hi, I created a MDI app with a CRicheditView. Works fine but I'd like to modify the Richedit style, i.e. add auto horizontal scroll to avoid line wrapping. usualy, this is done through create(style, .....). But I can't find where the richedit is created in the MDI appwizard generated code :confused: help !
-
Hi, I created a MDI app with a CRicheditView. Works fine but I'd like to modify the Richedit style, i.e. add auto horizontal scroll to avoid line wrapping. usualy, this is done through create(style, .....). But I can't find where the richedit is created in the MDI appwizard generated code :confused: help !
-
Check this: CRichEditView::GetRichEditCtrl :) Mazy Don't Marry a Person You Can Live With... Marry Someone You Can Not Live Without
-
yeah, knew this one. the problem il that I see only the SetOptions() method to change style, I tried :
GetRichEditCtrl().SetOptions(ECOOP_SET, ECO_AUTOHSCROLL | ECO_WANTRETURN | ECO_AUTOVSCROLL);
but seems to change nothing. -
Yes,you are right ,it doesn't work. There is MFC sample in MSDN,WORDPAD ,maybe it helps you ,I don't have it to check it,if you find the answer in it please reply me. :) Mazy Don't Marry a Person You Can Live With... Marry Someone You Can Not Live Without
-
wordpad sample does it. I just can't figure how... <psycho scream> AAHAHAHAHAAAHAHAHAHHAHAHAHAHA </psycho scream> I'll go to sleep, local time is 23:48.
I work on it a little,we have to change "wrap" property In the example in "option" dialog box it change radio button to no wrap but I couldn't found where it take effect,I put new message,maybe someboddy HELP us :(( Mazy Don't Marry a Person You Can Live With... Marry Someone You Can Not Live Without