Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Install font with API
Message
 
To
10/03/1998 13:21:04
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00083698
Message ID:
00083714
Views:
25
>Can anyone please show me some VFP5 code to install the foxfont.fon font programmatically using the API.
>
>I know it uses the AddFontResource function but I would love to see the solution if someone has it available.
>
>Thanks,

David,

AddFontResource doesn't install the font, but simply loads it for use by adding it to the Windows font table. When finished with the font, it should be removed using RemoveFontResource. There isn't an API function that I'm aware of that installs this information. I think it's done by adding items to the registry.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform