![]() |
Font Registrieren
Wie kann ich eine Font im System Registrieren?
Gruss HW764 |
Re: Font Registrieren
Mit der WinAPI AddFontResource. Nähere Informationen findest du in der Code-Library, MSDN und im PSDK.
|
Re: Font Registrieren
Ich dachte, ich hätte da mal einen Code gesehen...
|
Re: Font Registrieren
Na ja, jetzt, wo du den Suchbegriff kennst, wär´s doch kein Problem, damit mal die Suchseite zu [dp="AddFontResource"]füttern[/dp]. Oder?
|
Re: Font Registrieren
Hallo,
kurze frage zu dieser funktion: AddFontResource wenn man durch dieses procedure fonts registriert, sind diese dann auch in die registry eingetragen? und können von allen programmen genutzt werden ? MfG - Ghost007 |
Re: Font Registrieren
Einfach mal in die MSDN geschaut?
MSDN: AddFontResource() The AddFontResource function adds the font resource from the specified file to the system font table. The font can subsequently be used for text output by any application. MSDN: AddFontResource() Remarks Any application that adds or removes fonts from the system font table should notify other windows of the change by sending a WM_FONTCHANGE message to all top-level windows in the operating system. The application should send this message by calling the SendMessage function and setting the hwnd parameter to HWND_BROADCAST. When an application no longer needs a font resource that it loaded by calling the AddFontResource function, it must remove that resource by calling the RemoveFontResource function. This function installs the font only for the current session. When the system restarts, the font will not be present. To have the font installed even after restarting the system, the font must be listed in the registry. Windows 95/98/Me: AddFontResourceW is supported by the Microsoft Layer for Unicode. To use this, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows 95/98/Me Systems. |
Re: Font Registrieren
hm,
ok dann nächste frage, wir installier ich die font dauerhaft? MfG - Ghost007 |
Re: Font Registrieren
Und wieder ein Ergebnis der MSDN dazu:
![]() |
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:33 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz