Using Windows API to check default Windows "Display-> Appearance-> Font Size" settings

Glory

Well-known Member
Joined
Mar 16, 2011
Messages
640
I can find the registry key that's changed when the default font size is changed at this registry path:

Code:
H_KEY\CURRENT_USER\Control Panel\Appearance\Current

But there's a problem! The registry key's value only changes if the "Windows and Buttons" dropdown on the same tab of the "Appearance" control panel window is set to "Windows Classic". If that dropdown is set to "Windows XP", then the value of the "Current" registry key is always an empty string.

If I could just check the value of this setting I could solve this userform problem:

http://www.mrexcel.com/forum/showthread.php?t=551190

Can anyone help me figure out what registry key is linked to this setting?
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,224,590
Messages
6,179,753
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top