Click here to Skip to main content
15,912,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: EditBox and RichEdit Box not able to display multilanguage application Pin
SandipG 10-Sep-08 23:25
SandipG 10-Sep-08 23:25 
GeneralRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Rajesh R Subramanian10-Sep-08 23:28
professionalRajesh R Subramanian10-Sep-08 23:28 
GeneralRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Rajesh R Subramanian10-Sep-08 23:26
professionalRajesh R Subramanian10-Sep-08 23:26 
GeneralRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Dhiraj kumar Saini10-Sep-08 23:29
Dhiraj kumar Saini10-Sep-08 23:29 
QuestionRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Rajesh R Subramanian10-Sep-08 23:39
professionalRajesh R Subramanian10-Sep-08 23:39 
AnswerRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Dhiraj kumar Saini11-Sep-08 0:00
Dhiraj kumar Saini11-Sep-08 0:00 
QuestionRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Rajesh R Subramanian11-Sep-08 0:33
professionalRajesh R Subramanian11-Sep-08 0:33 
AnswerRe: EditBox and RichEdit Box not able to display multilanguage application Pin
SandipG 11-Sep-08 0:43
SandipG 11-Sep-08 0:43 
Hi Rajesh,
I installed language pack and prepared a trial UNICODE application.
Even though i have language pack installed i was not able to see japanese font in text box.
When i paste the japanese string it shows some square boxes.
After that i did this

CFont* pFont;
pFont = new CFont();
pFont->CreateFont(
20, // nHeight
0, // nWidth
0, // nEscapement
0, // nOrientation
FW_NORMAL, // nWeight
TRUE, // bItalic
FALSE, // bUnderline
0, // cStrikeOut
DEFAULT_CHARSET ,// nCharSet
OUT_DEFAULT_PRECIS, // nOutPrecision
CLIP_DEFAULT_PRECIS, // nClipPrecision
DEFAULT_QUALITY, // nQuality
DEFAULT_PITCH | FF_SWISS, // nPitchAndFamily
_T("MS Gothic"));

m_Edit.SetFont(pFont);


And now i can paste japanese as well as chinese strings in the text box.
I am not sure why this is the behavior.

Regards,
Sandip.

GeneralRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Rajesh R Subramanian11-Sep-08 0:52
professionalRajesh R Subramanian11-Sep-08 0:52 
GeneralRe: EditBox and RichEdit Box not able to display multilanguage application Pin
SandipG 11-Sep-08 1:04
SandipG 11-Sep-08 1:04 
GeneralRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Rajesh R Subramanian11-Sep-08 1:19
professionalRajesh R Subramanian11-Sep-08 1:19 
GeneralRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Rajesh R Subramanian11-Sep-08 2:08
professionalRajesh R Subramanian11-Sep-08 2:08 
GeneralRe: EditBox and RichEdit Box not able to display multilanguage application Pin
SandipG 11-Sep-08 2:13
SandipG 11-Sep-08 2:13 
AnswerRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Dhiraj kumar Saini11-Sep-08 0:45
Dhiraj kumar Saini11-Sep-08 0:45 
QuestionRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Rajesh R Subramanian11-Sep-08 1:21
professionalRajesh R Subramanian11-Sep-08 1:21 
QuestionRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Rajesh R Subramanian11-Sep-08 1:46
professionalRajesh R Subramanian11-Sep-08 1:46 
AnswerRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Dhiraj kumar Saini11-Sep-08 2:34
Dhiraj kumar Saini11-Sep-08 2:34 
AnswerRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Rajesh R Subramanian11-Sep-08 2:40
professionalRajesh R Subramanian11-Sep-08 2:40 
GeneralRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Dhiraj kumar Saini11-Sep-08 3:02
Dhiraj kumar Saini11-Sep-08 3:02 
GeneralRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Dhiraj kumar Saini11-Sep-08 3:14
Dhiraj kumar Saini11-Sep-08 3:14 
GeneralRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Dhiraj kumar Saini11-Sep-08 23:26
Dhiraj kumar Saini11-Sep-08 23:26 
RantRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Rajesh R Subramanian12-Sep-08 1:21
professionalRajesh R Subramanian12-Sep-08 1:21 
GeneralRe: EditBox and RichEdit Box not able to display multilanguage application Pin
Dhiraj kumar Saini12-Sep-08 2:18
Dhiraj kumar Saini12-Sep-08 2:18 
QuestionHow to create and array of structs that have their own arrays? [modified] Pin
Electronic7510-Sep-08 20:37
Electronic7510-Sep-08 20:37 
QuestionRe: How to create and array of structs that have their own arrays? Pin
CPallini10-Sep-08 21:08
mveCPallini10-Sep-08 21:08 

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.