Changes the font for a given logical attribute (Vermont Views for Windows or Web Edition Only)
| Call | |
| #include <vv_win.h> | |
| void latt_rplfont(log_att, fontnamep, font_ptsize, font_style, latt_array) | |
| UCHAR log_att | Logical attribute to add or change |
| char *fontnamep | Pointer to the font name |
| UCHAR font_ptsize | Point size of the font |
| UCHAR font_style | Style of the font |
| UCHAR *latt_array | Pointer to the logical array to modify |
| log_att: Specify the #defined name of the logical attribute that you want to change. | |
| fontnamep: Specify any font name supported by Windows. The following font names are universal: Dialog, Helvetica, TimesRoman, Courier, and Symbol. | |
| font_ptsize: Specify the point size of the font. | |
| font_style: Specify one of the following #defined values: | |
| LFONT_PLAIN | |
| LFONT_BOLD | |
| LFONT_ITALIC | |
| LFONT_UNDERLINE | |
| LFONT_STIRKEOUT | |
| latt_array: Specify a pointer to the logical system array to modify. If you want to modify the default system array, specify LATT_SYSFONT. | |
| Returns | |
| none | |
| Description | |
| latt_rplfont() modifies the font for the given logical attribute. By default, the display font for all logical attributes is the Windows default font. | |
| Related Functions | |
| latt_rpl(), se_font(), sw_font(), sfm_font() | |
| Cautions | |
| Not all Windows installations support the same fonts. If Windows does not support the specified font, the field is displayed with the default Windows font.
Font names are case sensitive. 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. |
|