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

C / C++ / MFC

 
GeneralRe: Data Storage? Pin
S Douglas9-Jul-05 18:04
professionalS Douglas9-Jul-05 18:04 
Generalstrange error in vc Pin
wrb3028-Jul-05 19:03
wrb3028-Jul-05 19:03 
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 
1) Compile UNICODE version of app.
2) Copy character U+0428 from Character Map program.
3) Paste character in edit control, no problem.
4) Paste character in rich edit control, no problem.
5) Get text from edit control (TCHAR txt[128]):
txt[0] = 1064, txt[1] = 0;
6) Get text from rich edit control (TCHAR txt[128]):
txt[0] = 63, txt[1] = 10, txt[2] = 13;

Ok! What happened here?

The reverse is also true:

1) Set text in edit control (t[0]=1064,t[1]=0), no problem
2) Set text in rich edit control (t[0]=1064,t[1]=0), a problem. It displays '?', which is character 63.

Any ideas?

INTP
"The more help VB provides VB programmers, the more miserable your life as a C++ programmer becomes."
Andrew W. Troelsen
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 
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 

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.