Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - removefont() removes a font from the available fonts list http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 RemoveFont()           Removes a font from the available fonts list
--------------------------------------------------------------------------------

   Syntax:              RemoveFont( <cFontName> )  --> <lSuccess>


   Parameters:

   <cFontName>          Identifies the name of the font resource file or
                        the handle of a module loaded that supplied that font.

   Returns:

   <lSuccess>            If the operation was sucessfull.

   Observations:         Any application that adds or removes fonts from the
                         Windows font table should send a WM_FONTCHANGE message
                         to all top-level windows in the system by using the
                         SendMessage function with the hwnd parameter set to
                         -1 (HWND_BROADCAST).

                         In some cases, the RemoveFont function may not remove
                         the font resource immediately. If there are outstanding
                         references to the resource, it remains loaded until
                         the last logical font using it has been removed
                         (deleted) by using the DeleteObject function.

   Source code:          SOURCE\\WINAPI\\FontCrea.c

   See also:             AddFontResource()


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson