Programming VB to Handle DISPLAY SETTINGS + GENERAL + DPI SETTING + LARGE SIZE (120 DPI)
Ladies and Gentlemen,
I have a VB application which is working pretty well (with your valuable help). I installed a copy last week on a computer which was connected to a large (19") high resolution (1600 x 1200) LCD monitor. My user has set the display properties to use "LARGE SIZE (120 DPI)" on the General tab.
My dialog box contains a tab control which adjusts the size (width) of the dialog box according to which tab is being used. Unfortunately the "LARGE SIZE (120 DPI)" setting is fouling things up. Is there an easy way in VB to query windows about the DPI of the display so that an IF statement can appropriately adjust widths.
Is there another way that control sizes should be designed for to allow users to make this DPI adjustment?