MFC apps not displayed properly even if Font comp. are present

B

Ben

Hello guys,

The problem is that my MFC application does not display the text in an
MFC Tab Control item.

Investigation shown that the current font of the MFC dialog, does not
return the proper character set (using GetFont()). It returns a
GREEK_CHARSET instead of the normal ANSI_CHARSET.

The same code works fine on XP-pro platform, the text appear normally
(character set is ANSI_CHARSET, as expected).

I ran DependencyWalker to make sure that no dll where missing.
I also included all Fonts components available in TD, in my XPe image.

Note that I changed the TD option Visibility level to 100, to make
sure I included all of them.

I also select all the available font from the English Language
component, but still no luck. :(

The problem seems to be related to character set, so I screen the
registry of my XP-Pro machine to make sure that I did not miss
anything.

Any idea?

Do you know where we select the default character set?

Thanks in advance!

Ben.
 
S

Slobodan Brcin

Ben,

Try adding adequate CodePage:, Language: components.

Open in TD following category: Software:System:International:Infrastructure
and see if there is appropriate Language Support for you.

Also check Regional and Language Options component.


Regards,
Slobodan
 
B

Ben

Hello Slobodan,

Thanks very much for your help. Again you send me on the right track
to fix it.

The missing piece was to select the proper Code Page in the English
Language Support component.

Thanks!

Ben.

PS: Now let's do some good actions by responding some of the posting
on this NewsGroup.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top