Click here to Skip to main content
15,916,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem w/ preprocessor Pin
John R. Shaw12-May-03 8:54
John R. Shaw12-May-03 8:54 
GeneralRe: Problem w/ preprocessor Pin
Dean Goodman12-May-03 9:11
Dean Goodman12-May-03 9:11 
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 
I have a simple MFC Richedit in my dialog based program.
I don't use unicode programming in my MFC, because I don't know how!
I am writing a utf-8 -> ASCII converter. It gets the unicode text from a richedt window and takes away initial "" characters and the rest must be read as simple ASCII characters...

However when in program, the text from the rich edit is read (that iis in unicode, e.g. سال) based on this program:

void CSecondDlg::OnBUTTONtoUTF()
{
CString text_str1;
GetDlgItemText(IDC_RICHEDIT1, text_str1);

It just shows this "?????", while it should show: "سال"
I really don't know how can I just read such simple string!
Please somebody help me.




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 
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 

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.