Click here to Skip to main content
15,914,160 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralLoading controls at Run Time Pin
a_david1235-Jul-05 18:10
a_david1235-Jul-05 18:10 
GeneralRe: Loading controls at Run Time Pin
Jose Lamas Rios5-Jul-05 18:30
Jose Lamas Rios5-Jul-05 18:30 
GeneralUNICODE in edit control Pin
John R. Shaw5-Jul-05 17:23
John R. Shaw5-Jul-05 17:23 
GeneralRe: UNICODE in edit control Pin
Jose Lamas Rios5-Jul-05 17:39
Jose Lamas Rios5-Jul-05 17:39 
GeneralRe: UNICODE in edit control Pin
John R. Shaw5-Jul-05 18:27
John R. Shaw5-Jul-05 18:27 
GeneralRe: UNICODE in edit control Pin
Jose Lamas Rios5-Jul-05 18:47
Jose Lamas Rios5-Jul-05 18:47 
GeneralRe: UNICODE in edit control Pin
John R. Shaw5-Jul-05 19:02
John R. Shaw5-Jul-05 19:02 
GeneralRe: UNICODE in edit control Pin
Jose Lamas Rios6-Jul-05 3:26
Jose Lamas Rios6-Jul-05 3:26 
Are you using VS2003 or VS6?

I first tried with VS2003. In the project settings (Configuration Properties / General) I changed "Character Set" to "Use Unicode character set". This takes care of removing _MBCS and defining both UNICODE and _UNICODE. Rebuilt and everything worked fine.

Then tried with VS6. In project settings (C/C++ tab, Category General, Preprocessor definitions) removed _MBCS, and added UNICODE, _UNICODE. In the Link tab, Category Output, I set Entry-point symbol as wWinMainCRTStartup. Rebuilt and everything worked fine too.

In both cases I started with an AppWizard-generated dialog-based application and just added an edit control to the dialog template.

Try getting the text from the edit and inspect its content so as to determine if you are having problems with the text itself or if it's just a problem in how the edit displays it.

I also suggest testing by creating a project from scratch as I did.


--
jlr
http://jlamas.blogspot.com/[^]
GeneralRe: UNICODE in edit control Pin
John R. Shaw7-Jul-05 14:56
John R. Shaw7-Jul-05 14:56 
GeneralRe: UNICODE in edit control Pin
Jose Lamas Rios7-Jul-05 15:51
Jose Lamas Rios7-Jul-05 15:51 
GeneralRe: UNICODE in edit control Pin
Antony T6-Jul-05 1:11
sussAntony T6-Jul-05 1:11 
GeneralRe: UNICODE in edit control Pin
David Crow6-Jul-05 2:56
David Crow6-Jul-05 2:56 
GeneralRe: UNICODE in edit control Pin
John R. Shaw7-Jul-05 15:01
John R. Shaw7-Jul-05 15:01 
Questionwhat is that high-character? Pin
maranatha5-Jul-05 15:53
maranatha5-Jul-05 15:53 
AnswerRe: what is that high-character? Pin
Jose Lamas Rios5-Jul-05 17:48
Jose Lamas Rios5-Jul-05 17:48 
GeneralRe: what is that high-character? Pin
JWood6-Jul-05 9:17
JWood6-Jul-05 9:17 
GeneralRe: what is that high-character? Pin
Jose Lamas Rios6-Jul-05 10:46
Jose Lamas Rios6-Jul-05 10:46 
GeneralRe: what is that high-character? Pin
JWood6-Jul-05 12:18
JWood6-Jul-05 12:18 
QuestionMobile source control options? Pin
charlieg5-Jul-05 15:14
charlieg5-Jul-05 15:14 
AnswerRe: Mobile source control options? Pin
S Douglas5-Jul-05 20:25
professionalS Douglas5-Jul-05 20:25 
GeneralRe: Mobile source control options? Pin
charlieg6-Jul-05 17:10
charlieg6-Jul-05 17:10 
GeneralMC-CDMA Pin
kwangster5-Jul-05 13:13
kwangster5-Jul-05 13:13 
GeneralRe: MC-CDMA Pin
David Crow5-Jul-05 16:02
David Crow5-Jul-05 16:02 
GeneralRe: MC-CDMA Pin
kwangster5-Jul-05 21:39
kwangster5-Jul-05 21:39 
GeneralUnicode and standard libraries Pin
JWood5-Jul-05 11:49
JWood5-Jul-05 11:49 

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.