michaelhiggins
asked on
Disabling font size contol by Windows in an application
The small fonts / large fonts option in the Control Panel / display properties/ settings prodcues weird results in my application. How can I disable it?
(This time I promise to hit the right button to give credit where it is due ;-)
(This time I promise to hit the right button to give credit where it is due ;-)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Epsylon, Epsylon, ts, ts, ts ... Your suggestion is neither an answer to the question here nor does it solve the problem with different font sizes. Property Scaled is only useful for windows to scale to specific sizes, but not for fonts.
Ciao, Mike
Ciao, Mike
ASKER
The problem that I have is the rather irregular reaction of the different components of my program, to the different sizes of fonts. If I could detect when large fonts has been selected then I could perhaps cope with it.
Michael
Michael
It solves the Small/Large font problem. Am I missing something???????
ASKER
The problem is *How* to detect if small or large fonts have been selected. Is there some flag i can use?
Michael
Michael
You can use TForm.PixelsPerInch to determine this
Small font: 96
Large font: 120
Eps.
Small font: 96
Large font: 120
Eps.
Remind that there are more possibilities since you can set any fontsize using the 'Other' option in Display properties > Settings > Advanced.
Does this help you?
This question was awarded, but never cleared due to the JSP-500 errors of that time. It was "stuck" against userID -1 versus the intended expert whom you awarded. This corrects the problem and the expert will now receive these points; points verified.
Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them. If you are an EE Pro user, you can also choose Power Search to find all your open questions.
This is the Community Support link, if help is needed, along with the link to All Topics which reflects many TAs recently added.
https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
https://www.experts-exchange.com/jsp/zonesAll.jsp
Thank you,
Moondancer
Moderator @ Experts Exchange
Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them. If you are an EE Pro user, you can also choose Power Search to find all your open questions.
This is the Community Support link, if help is needed, along with the link to All Topics which reflects many TAs recently added.
https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
https://www.experts-exchange.com/jsp/zonesAll.jsp
Thank you,
Moondancer
Moderator @ Experts Exchange
Ciao, Mike