Click here to Skip to main content
15,913,159 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: strange error in vc Pin
Jack Puppy8-Jul-05 20:11
Jack Puppy8-Jul-05 20:11 
GeneralRe: strange error in vc Pin
wrb3029-Jul-05 21:06
wrb3029-Jul-05 21:06 
GeneralRe: strange error in vc Pin
John R. Shaw8-Jul-05 20:57
John R. Shaw8-Jul-05 20:57 
Generalvisual c++ custom controls. Pin
rich1358-Jul-05 15:29
rich1358-Jul-05 15:29 
GeneralRe: visual c++ custom controls. Pin
John R. Shaw8-Jul-05 16:30
John R. Shaw8-Jul-05 16:30 
GeneralCRichEditCtrl Pin
John R. Shaw8-Jul-05 15:23
John R. Shaw8-Jul-05 15:23 
GeneralRe: CRichEditCtrl Pin
Blake V. Miller8-Jul-05 17:19
Blake V. Miller8-Jul-05 17:19 
GeneralRe: CRichEditCtrl Pin
John R. Shaw8-Jul-05 18:13
John R. Shaw8-Jul-05 18:13 
Thanks! There does not seem to be a wrapper in the MFC control class for that one.

Text mode = TM_MULTICODEPAGE|TM_SINGLELEVELUNDO|TM_RICHTEXT;

The only thing I can determine from that, is that text is in richtext format. I believe that the rich edit control is entirely UNICODE internaly.

I am using GetRichEditCtrl().ReplaceSel(_T("some text")) only, to send text to the control.

I am using GetRichEditCtrl().GetLine(0,ubuf,128) only (as test), to get text from the control.

GetLine() retrieves wchar_t characters, but they are being translated to ANSI characters, when copied to the wchar_t array passed as an argument.

There is the possibility that it is a local problem, but that makes no since.


INTP
"The more help VB provides VB programmers, the more miserable your life as a C++ programmer becomes."
Andrew W. Troelsen
GeneralRe: CRichEditCtrl Pin
Jose Lamas Rios9-Jul-05 17:40
Jose Lamas Rios9-Jul-05 17:40 
GeneralEmbedding data in exe's Pin
Xzyx987X8-Jul-05 15:20
Xzyx987X8-Jul-05 15:20 
GeneralRe: Embedding data in exe's Pin
John R. Shaw8-Jul-05 15:29
John R. Shaw8-Jul-05 15:29 
GeneralRe: Embedding data in exe's Pin
Xzyx987X8-Jul-05 16:14
Xzyx987X8-Jul-05 16:14 
GeneralRe: Embedding data in exe's Pin
John R. Shaw8-Jul-05 16:46
John R. Shaw8-Jul-05 16:46 
GeneralRe: Embedding data in exe's Pin
Xzyx987X8-Jul-05 17:07
Xzyx987X8-Jul-05 17:07 
GeneralRe: Embedding data in exe's Pin
John R. Shaw8-Jul-05 18:33
John R. Shaw8-Jul-05 18:33 
GeneralRe: Embedding data in exe's Pin
David Crow8-Jul-05 16:36
David Crow8-Jul-05 16:36 
GeneralRe: Embedding data in exe's Pin
Xzyx987X8-Jul-05 17:09
Xzyx987X8-Jul-05 17:09 
Generalhelp: C++ copy constructors Pin
heskel8-Jul-05 15:04
heskel8-Jul-05 15:04 
GeneralRe: help: C++ copy constructors Pin
John R. Shaw8-Jul-05 16:01
John R. Shaw8-Jul-05 16:01 
Generalhelp:update_command_ui Pin
happycpp8-Jul-05 13:33
happycpp8-Jul-05 13:33 
GeneralRe: help:update_command_ui Pin
Jose Lamas Rios10-Jul-05 18:07
Jose Lamas Rios10-Jul-05 18:07 
GeneralC++ Copy constructors Pin
heskel8-Jul-05 13:02
heskel8-Jul-05 13:02 
GeneralRe: C++ Copy constructors Pin
Kevin McFarlane8-Jul-05 13:07
Kevin McFarlane8-Jul-05 13:07 
GeneralRe: C++ Copy constructors Pin
heskel8-Jul-05 13:12
heskel8-Jul-05 13:12 
GeneralRe: C++ Copy constructors Pin
Nemanja Trifunovic8-Jul-05 14:06
Nemanja Trifunovic8-Jul-05 14:06 

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.