TerLoadExtFont
Load an external font file.
BOOL TerLoadExtFont(hWnd, typeface, FontFile, type)
HWND hWnd; | The handle of the window to be accessed. |
LPBYTE typeface; | Actual typeface of the font as specified in the font-file. |
LPBYTE FontFile | Path or name of the FontFIle containing the font data. |
BOOL UpdateToolbar | Set to true to update the toolbar immediately. |
Comment: You can call this method more than once to load multiple fonts. The fonts loaded by this method are effective only during the session.
Return Value: This function returns TRUE when successful.
Example:
TerLoadExtFont(hWnd,"Pirulen","pirulen.ttf",true);