LEADTOOLS Vector C++ Class Library Help > Classes and Member Functions > LVectorDialog > LVectorDialog Class Members > LVectorDialog::SetFont |
#include "ltwrappr.h"
static HFONT LVectorDialog::SetFont(hFont)
HFONT hFont; |
/* handle to the selected font */ |
Sets the font for the dialogs to use.
Parameter |
Description |
hFont |
Handle to the selected font. |
Returns
!NULL |
The previous font. |
NULL |
An error occurred. |
Comments
The default font is HELV size 8.
Call this function with hFont set to NULL to use the default font.
Required DLLs and Libraries
LVKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
LVectorDialog::GetStringLen, LVectorDialog::GetString, LVectorDialog::SetString, Class Members |
Topics: |
Example
For an example, refer to LVectorDialog::GetString.