Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get system font names and sizes?
Message
De
26/06/2004 01:48:43
 
 
À
25/06/2004 08:57:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00917141
Message ID:
00917501
Vues:
16
This message has been marked as a message which has helped to the initial question of the thread.
>> AFONT() can give you the list of available fonts.
>
>Yes, but how can I determine which of them is used for menus and which size it uses?

Hi Anton,

It is stored in the registry key:

HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics

Looked for KeyValue: "CaptionFont", "MenuFont", etc..
Or you can enumerate it. I don't have NT system right now, but I don't think it will be different.

HTH
Herman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform