Problem when Resoluction Change
-
When i m changing my system Resoluction then my software controls are not viewing. Suggest me how to set resoluction setting for my application. Thanks
If you can think then I Can.
try out
My.Computer.Screen
My advice is free, and you may get what you paid for.
-
try out
My.Computer.Screen
My advice is free, and you may get what you paid for.
-
Getting Computer Resoluction is not my Problem. My problem is that how to Manage software for diffrent resoluction and DPI.
If you can think then I Can.
If you can retrieve the resolution, of the screen, then you could build your GUI dynamically. Use relational sizing for your controls (and font sizes where necessary) and add them to the form at runtime. Alternatively you could spread out your controls over multiple forms, that you call when necessary, or over a tab control.
My advice is free, and you may get what you paid for.
-
If you can retrieve the resolution, of the screen, then you could build your GUI dynamically. Use relational sizing for your controls (and font sizes where necessary) and add them to the form at runtime. Alternatively you could spread out your controls over multiple forms, that you call when necessary, or over a tab control.
My advice is free, and you may get what you paid for.
-
My application is simple dialog which size is 867, 666. but when i am changes it's DPI 120 then its Controls are not showing which are standing in the Buttom of Form.
If you can think then I Can.
Dim g As Graphics = Graphics.FromHwnd(Me.Handle)
MsgBox("DPI Value: " & g.DpiX.ToString())This bit of code will get you the DPI setting of the machine your app is running on. Maybe you can use this, when you calculate the size of your controls and fonts
My advice is free, and you may get what you paid for.
-
Dim g As Graphics = Graphics.FromHwnd(Me.Handle)
MsgBox("DPI Value: " & g.DpiX.ToString())This bit of code will get you the DPI setting of the machine your app is running on. Maybe you can use this, when you calculate the size of your controls and fonts
My advice is free, and you may get what you paid for.
-
I had a similar problem. Set the "AutoScaleMode" property of the form to "Off". When you change the DPI, it's auto-scaling your controls and causing them to display incorrectly. Hope that helps, -Ray