Click here to Skip to main content
15,921,793 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem w/ preprocessor Pin
Joaquín M López Muñoz12-May-03 11:21
Joaquín M López Muñoz12-May-03 11:21 
GeneralRe: Problem w/ preprocessor Pin
Anders Molin12-May-03 9:12
professionalAnders Molin12-May-03 9:12 
GeneralRe: Problem w/ preprocessor Pin
Dean Goodman12-May-03 9:52
Dean Goodman12-May-03 9:52 
GeneralRe: Problem w/ preprocessor Pin
Anders Molin12-May-03 10:27
professionalAnders Molin12-May-03 10:27 
GeneralRe: Problem w/ preprocessor Pin
basementman13-May-03 7:25
basementman13-May-03 7:25 
QuestionHow to use GetDlgItemText to get unicode? Pin
ari_jas12-May-03 8:05
ari_jas12-May-03 8:05 
AnswerRe: How to use GetDlgItemText to get unicode? Pin
David Crow12-May-03 8:15
David Crow12-May-03 8:15 
GeneralRe: How to use GetDlgItemText to get unicode? Pin
ari_jas12-May-03 21:17
ari_jas12-May-03 21:17 
I am sorry but my project setting is not using unicode. However as you know in win2k you can switch back to the different language and when you run the program, fortunately it shows unicode characters in richedit.

I don't use the UNICODE preprocessor directive and I don't know also what is that! Initially my VC project is a simple MFC. Is it too late to change it to a unicode support? and how can I do that?

WIth the code you wrote, still when I debug my program, for the string which is in unicode, "سال", and is equal to "سال", the GetDlgItemText returns "???"

BTW, I have used GetDlgItemTextW(hwnd,IDC_RICHEDIT2, text_str1, sizeof(text_str1)); instead of GetDlgItemText, where I couldn't initialize hwnd. I used WCHAR_t text_str1[128]; or WCHAR text_str1[128]; and program run but none of these method could help until the richedit return the ascii!Frown | :(
Is there any method than GetDlgItemText to grab any character typed in the richedit one by one?

So this question is still open.

GeneralSearch Classes... Pin
JoeSox12-May-03 7:36
JoeSox12-May-03 7:36 
GeneralRe: Search Classes... Pin
David Crow12-May-03 8:00
David Crow12-May-03 8:00 
GeneralRe: Search Classes... Pin
JoeSox12-May-03 8:06
JoeSox12-May-03 8:06 
Questionquery the no. of files selected using CFileDialog? Pin
Neel Abraham12-May-03 7:36
Neel Abraham12-May-03 7:36 
AnswerRe: query the no. of files selected using CFileDialog? Pin
David Crow12-May-03 8:03
David Crow12-May-03 8:03 
AnswerRe: query the no. of files selected using CFileDialog? Pin
John R. Shaw12-May-03 9:01
John R. Shaw12-May-03 9:01 
Generalsockets & pop3 Pin
ibiteu212-May-03 7:32
ibiteu212-May-03 7:32 
GeneralRe: sockets & pop3 Pin
Anders Molin12-May-03 8:04
professionalAnders Molin12-May-03 8:04 
GeneralRe: sockets & pop3 Pin
ibiteu212-May-03 8:12
ibiteu212-May-03 8:12 
GeneralRe: sockets & pop3 Pin
Anders Molin12-May-03 8:37
professionalAnders Molin12-May-03 8:37 
GeneralRe: sockets & pop3 Pin
ibiteu212-May-03 10:32
ibiteu212-May-03 10:32 
QuestionBest Way to Respond to IE dialog boxes? Pin
RickGavin12-May-03 7:28
RickGavin12-May-03 7:28 
AnswerRe: Best Way to Respond to IE dialog boxes? Pin
David Crow12-May-03 8:05
David Crow12-May-03 8:05 
GeneralRe: Best Way to Respond to IE dialog boxes? Pin
RickGavin12-May-03 9:19
RickGavin12-May-03 9:19 
GeneralDLL loading in debug and release mode Pin
Dominik Reichl12-May-03 7:22
Dominik Reichl12-May-03 7:22 
GeneralRe: DLL loading in debug and release mode Pin
valikac12-May-03 9:09
valikac12-May-03 9:09 
GeneralRe: DLL loading in debug and release mode Pin
Neville Franks12-May-03 13:04
Neville Franks12-May-03 13:04 

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.