My application loads information from a file which then creates x amount of controls on y amounts of tabpages in a form.
My problem is that when the user has a different DPI to the standard Windows 96, the controls added overlap each other. The initial controls on the form are fine.
How can I set the controls to be modified to the 96 DPI instead of whatever the users machine is running at?
If this is very difficult, is there a way to see what the users DPI is? I can then throw a warning saying that you should use 96DPI etc etc.
Thank you for any help or advise you can give me!
Just to answer my own question I wrote this and put it in my Form load event: