Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WINDOWS default fonts
Message
From
05/08/1997 08:33:26
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
 
 
To
05/08/1997 07:55:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00043104
Message ID:
00043200
Views:
35
>Yes, I have.
>But, AFONT() gives information about AVAILABLE fonts. But I need font properties (name, size, color) about font, selected for special purposes in Win95 (or in NT4.0) These selection can be made by user via control panel - display options. For instance I need the selected font for displaying message box, adjusted to Win95 default message box font settings.
>
>In the earlier message I didnot mention that I searched windows registry, and I found menufont and message font settings, but the values were long number lists. From that values, I don't know if it is possible to get the font name, size etc.
>
>BB
>
>>>Hi everybody!
>>>
>>>Does anybody know, how I could determine the Windows 95 (or NT4.0) default font properties? (name, size, color) (for menus and message box?)
>>>I checked winapi32 functions like getsysmetrics, but I didnot find anything for this.
>>>
>>>Any advice?
>>>
>>>TIA
>>>
>>>BB
>>
>>Have you checked the Afont() function in VFP ???

I guess this is possible through some Win API function...But I don't have much idea abt that...
Previous
Reply
Map
View

Click here to load this message in the networking platform