Fontmetric(6) does not work. Don't know if the registry search will work yet.
>>I designed a calendar form containing the monthview object included in vfp6. Everything works and looks fine. Later I encountered a user who is using Windows Large Fonts. The calendar looks like @#$%.
>>
>>Does anyone know how to work around this? Maybe even a API call that will tell me that Large Fonts are being used and I can program around it?
>
>You might take a look at the FONTMETRIC(6) function - I haven't tried this (and I'm in the middle of instaling a stubborn AGP card, so -please- try this yourself!) but you could get the value for some known font under both large and small fonts, save the values, and then test at run time; if the large font value is returned, you'd do whatever you need to do with large fonts.
>
>I'm fairly certain that a registry value under HKEY_CURRENT_USER\Display\Settings or HKEY_CURRENT_USER\Desktop\WindowMetrics also provides the information, but I'm not sure which, or which value is for large fonts.
>
>>
>>Robert
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only