Windows Develop Bookmark and Share   
 index > Windows Forms General > Windows application in different DPI
 

Windows application in different DPI

I have developed a window form based application for tablet pcs. The problem 
I am facing is screen looks displaced on high dpi setting ie 120 how it make 
it work for both resolution

Thanks
Sudhee
Sudhee  Monday, October 16, 2006 8:50 PM
Make sure the form AutoScale property is set to TRUE.
JRQ  Tuesday, October 17, 2006 3:47 PM

Two ways if you are in .net 2 you should be able to use the new containers like tablecontainers to repositions buttons and spacing in a % effect rather than by fixed widths. The second way is you check for what type of machine the users is on and there settings and programmatically change the screen. This is alot more long winded and very painful in places but this should hopefully solve you problem.

HTHs, Sorry I could not give a better solution though.

James

James Knowles  Tuesday, October 17, 2006 3:31 PM
Make sure the form AutoScale property is set to TRUE.
JRQ  Tuesday, October 17, 2006 3:47 PM

You can use google to search for other answers

Custom Search

More Threads

• Draw partially transparent image with Graphics class
• Memory consumption growing too fast (WinForm app)
• winapp within winapp
• Doubt about Event and Delegate in multithread context
• Combobox problems with similar items in list.
• List box above list box. How do I get to anchor correctly
• How to Upload images files to folder named myFolder
• Invoke Activated Child Method
• What does the toolstrip menu item attrib 'DropDown' do?
• Hide Splitter line when adjusting DataGridView column width