Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Note: I have tried specifying Arial, as suggested. Problem remains.

I have developed an application. I have noticed a strange interaction with another software program.

Here's the short of it.

I create a number of Fonts for use in custom controls. I specify MS Shell Dlg, as I may need to support other languages.

**
As I understand it, I cannot specify Arial, or Tahoma, or whatever normal English/US font. This will break on non-english devices, that use a different font for displaying their characters, such as Korean, Japanese, etc.

Correct me if I'm wrong, please.
**

Everything works great. However, if I run my program, and then the other program I mentioned earlier, all text in my program is garbage characters.
This never happens with any other program, only when these two are run together.

This glitch does not affect control text that I have not explicitly used SetFont on.

Is this likely a problem with my software, or the other one?

I know that's a difficult question, but any thoughts would be helpful.

Steven
Posted
Updated 15-Jan-10 5:59am
v4

1 solution

Don't use MS Shell Dlg for your font. Select a specific font (and I recommend selecting one that comes with a standard Windows install).

I use Arial (I like it better than MS San Serif).

EDIT =============

I don't understand why this was voted a 3. You may not LIKE the answer, but it's correct. Someone has a misunderstanding of what the voting system is for.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900