Form layout problem on Chinese OS

G

Guest

Hello There.

I've written an mdi app that lays-out the windows forms on any western
language without a problem.

However when I run the app an a Chinese OS (with exactly the same screen
settings 1024x786) the form appears to have less pixels and does not resize
correct. Infact the number of pixels (work area) is exactly the same as the
western language OS.

Has anybody come across this before. How is this possible.
What can I do about it? (screenshots available)

Thanks for your help!
 
B

Bryan Phillips

This is common when running western language apps on non-western local
versions of Windows. The easiest way to handle the problem is to
localize the affected pages for the problem locales and fix the layout
problems.
 
G

Guest

I've found the same problem with controls that are anchored to the bottom of
the screen. On Chinese OS they are below the bottom of the screen and
therefore not visible but on all other OS versions they are OK (even Japanese
OS). I've output the screen dimensions, client rect dimensions and the window
dimensions and these all match between OS versions but the placement of the
control (handled by Windows) is wrong. Surely this is a Windows bug?
 
Joined
Apr 16, 2010
Messages
1
Reaction score
0
Set the form properties of form in Message

The following did it for me.

Set the following properties for the Windows Form:
1. AutoScaleMode = None
2. AutoSize = True

Compiled it in U.S. Windows OS and ran the exe in a Chinese Windows OS.
Its perfect.

Good Luck
Lakshmi narayanan V.

p.s. I am normally poor in posting messages. But, spent days on this issue and thought it would help someone out there.
 

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