se_font()

Sets the application font (Vermont Views for Windows or Web Edition Only)

Call
#include <vv_win.h>
HFONT se_font(UCHAR *font_name, int font_ptsize, UINT font_style, LOGFONT *lplf);
char *font_name Pointer to the font name
UCHAR font_ptsize Point size of the font
UCHAR font_style Style of the font
LOGFONT *lplf Pointer to the Windows LOGFONT structure
Returns  
HFONT Handle to a Windows font
Description  
se_font() sets the application font. If LOGFONT *lplf is NOT NULL, the font described by the lplf structure is used, otherwise a new font is created using the first 3 arguments. If the application already has a font specified, the existing font is released and its resources destroyed.
Related Functions
latt_rplfont(), sw_font(), sw_fontptr(), sfm_font()
Cautions
This function is available in Vermont Views for Windows only. For backward compatibility with other operating systems, place this function call within a #ifdef __WIN32__, #endif pair.


Home Contents Previous Next