Windows Develop Bookmark and Share   
 index > Windows Forms General > Control Placement Problem with Chinese XP Version
 

Control Placement Problem with Chinese XP Version

I have an issue when running my GUI under Chinese and Korean versions of XP where some of the defined controls are not in the proper location. The UserControl boxes I use for graph and table data expand pushing the location of the buttons, which are located below the UserControls, below the display window. See the normal and anomaly pictures below. This application runs fine under other XP versions and with regional settings set to Chinese or Korean. It only happens under real Chinese XP or Korean XP versions. Any ideas or suggestions are welcome.

Thanks

GrenadierNox  Wednesday, September 09, 2009 8:00 PM
Go into Control Panel + Display + Advanced and change the DPI setting to repro this problem on your own machine. You'll need to make sure that your form lays out properly when it rescales. Anchor, Dock, Resize event, FlowLayoutPanel, TableLayoutPanel.

Hans Passant.
nobugz  Wednesday, September 09, 2009 8:34 PM
Hi GrenadierNox,

I can understand the situation you have met because I met the same problem when running my application under Chinese XP and English XP years ago. The control on the form seems some pixel offset. When I running it under English XP with region set to Chinese, the problem won't occur. The problem occur only for different language OS.

I don't find a better solution for this kind of problem after searching. What I did at that time is correct the location in the designer.cs file of each control. At last I got a better UI for both OS.

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Friday, September 11, 2009 3:34 AM
We are changing the issue type to “General Discussion�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by opening the Options list at the top of the post editor window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework!
Kira Qian  Wednesday, September 16, 2009 8:44 AM
Kira,
This application needs to run properly under both English and Chinese XP so I can not change the controllocations. Thanks for the comment.
GrenadierNox  Wednesday, September 16, 2009 7:23 PM
Since I can not read Chinese, I have to wait until an overseas resource trys Nobugz suggestion. The information has been relayed, receivedand I am waiting a response.
GrenadierNox  Wednesday, September 16, 2009 7:26 PM
The point was for you to make that change.
Hans Passant.
nobugz  Wednesday, September 16, 2009 7:44 PM
I would if I could read Chinese. Anyway, the DPI change seems to help so although not a real solution, it will help the customer deal with it.
Thanks
GrenadierNox  Wednesday, September 23, 2009 7:28 PM

You can use google to search for other answers

Custom Search

More Threads

• Video capture help needed
• Help with the WebBrowser control opening link to files
• Lines per page in Rich text box
• Databinding to types that asynchronously update
• TextBox control without caret
• Problem trying to select an item in a TreeView
• How do I assign a form's icon from an imagelist image?
• date and time question
• Modifying SaveFileDialog
• Holding mouse button down prevents MouseEnter event