Sets the font for a specific Window (Vermont Views for Windows or Web Edition Only)
| Call | |
| #include <vv_win.h> | |
| LFONTPTR se_fontptr(LFONTPTR lfontp, WINDOWPTR wnp); | |
| LFONTPTR *lfontp | Pointer to the LFONT structure |
| WINDOWPTR wnp | Window to set the font to |
| Returns | |
| LFONTPTR | Pointer to the current LFONT structure for the Window |
| The LFONT structure is defined as follows: (see vv_sys.h) | |
| typedef struct lfont_struct
{ UCHAR font[32];/* Font Name */ int ptsize;/* Point Size */ UINT style;/* Font Style */ HFONT hfont;/* Windows Font Handle */ } LFONT, *LFONTPTR; |
|
| Description | |
| se_fontptr() sets the window font member directly. | |
| Related Functions | |
| latt_rplfont(), se_font(), sfm_font() | |
| Cautions | |
| Use this function with care. You are responsible for allocating the LFONT structure and for releasing the old one.
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. |
|