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

C / C++ / MFC

 
GeneralRe: Communication between child windows Pin
alex.barylski28-Oct-03 7:45
alex.barylski28-Oct-03 7:45 
GeneralCatching clicking Pin
YaronNir28-Oct-03 5:50
YaronNir28-Oct-03 5:50 
GeneralRe: Catching clicking Pin
alex.barylski28-Oct-03 7:26
alex.barylski28-Oct-03 7:26 
GeneralRe: Catching clicking Pin
David Crow28-Oct-03 10:45
David Crow28-Oct-03 10:45 
GeneralRe: Catching clicking Pin
alex.barylski28-Oct-03 11:58
alex.barylski28-Oct-03 11:58 
GeneralRe: Catching clicking Pin
yndfcd28-Oct-03 13:35
yndfcd28-Oct-03 13:35 
GeneralRe: Catching clicking Pin
Peter Molnar29-Oct-03 14:27
Peter Molnar29-Oct-03 14:27 
Generalusing Indic scripts in MFC in Win2K Pin
sagmam28-Oct-03 5:00
sagmam28-Oct-03 5:00 
Hi, I've encoutered the following problem:

I'm using 2 machines: XP pro sp1 and Win2K sp4. Both are English OS with all language support installed (east asia, Hebrew, Arabic, Thai, the works). Both machines have Office XP installed (which installs additional fonts).

I created a simple MFC exe (unicode) with a single edit box (not rich-edit). The dialog's font is the generic-type "MS Shell Dlg". I have a small piece of text - each line in a different language (5 lines): English, Hebrew, Russian, Japanese and Indic. I keep the text in an RTF file.

Anyway, I run the app on my XP pro and I paste the 5 lines from Word into the Edit box. I see everything great.
However, when I do the same in Win2K, I see everything except the Indic text (I see some black vertical bars instead).

I don't know if it has anything to do with it, but I know that RICH-EDIT controls don't support Indic before XP Pro sp1, but I was never aware of anything regarding common controls such as a simple edit box. I couldnt' find any docs about the common controls.

p.s. When I changed the font from MS Shell Dlg to Arial Unicode MS, everything showed great, but that's bad practice since I can't distribute this font commercially with my app (it only comes with office 2K or higher), and it's also bad to hardcode a font face name in the app.

Does anyone have a clue how to support Indic in edit boxes (as well as the other languages at the same time) without specifying
a font face name in the app and without the user having to select fonts?

Thanks.



/=/=/=/=
Deus
/=/=/=/=
QuestionHow to open a file in a different directory Pin
Deepak Samuel28-Oct-03 4:37
Deepak Samuel28-Oct-03 4:37 
AnswerRe: How to open a file in a different directory Pin
sagmam28-Oct-03 5:02
sagmam28-Oct-03 5:02 
AnswerRe: How to open a file in a different directory Pin
valikac28-Oct-03 5:47
valikac28-Oct-03 5:47 
GeneralResolution Problems Pin
Bernhard28-Oct-03 3:32
Bernhard28-Oct-03 3:32 
GeneralFile open dialog misery Pin
Rick Dangerous28-Oct-03 3:28
Rick Dangerous28-Oct-03 3:28 
GeneralCRichEditCtrl a WYSIWYG Control -- Don't Think So! Pin
Larry J. Siddens28-Oct-03 3:24
Larry J. Siddens28-Oct-03 3:24 
Generalunicode macro Pin
Anonymous28-Oct-03 3:16
Anonymous28-Oct-03 3:16 
GeneralRe: unicode macro Pin
Graham Bradshaw28-Oct-03 4:30
Graham Bradshaw28-Oct-03 4:30 
GeneralRe: unicode macro Pin
sagmam28-Oct-03 5:07
sagmam28-Oct-03 5:07 
QuestionHow to abort reading operation on blocking socket? Pin
kotbegemot28-Oct-03 2:56
kotbegemot28-Oct-03 2:56 
AnswerRe: How to abort reading operation on blocking socket? Pin
valikac28-Oct-03 5:48
valikac28-Oct-03 5:48 
GeneralRe: How to abort reading operation on blocking socket? Pin
SLiDeR28-Oct-03 6:46
SLiDeR28-Oct-03 6:46 
GeneralRe: How to abort reading operation on blocking socket? Pin
kotbegemot28-Oct-03 21:38
kotbegemot28-Oct-03 21:38 
GeneralRichEdit 4.1 Pin
sagmam28-Oct-03 2:26
sagmam28-Oct-03 2:26 
GeneralRe: RichEdit 4.1 Pin
David Crow28-Oct-03 8:45
David Crow28-Oct-03 8:45 
GeneralRe: RichEdit 4.1 Pin
sagmam28-Oct-03 21:46
sagmam28-Oct-03 21:46 
GeneralRe: RichEdit 4.1 Pin
David Crow29-Oct-03 2:21
David Crow29-Oct-03 2:21 

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.