This method retrieves a handle to a Windows CE font.
The ratio of cyLogical and cyHimetric is used to calculate the proper display size, in logical units, for the font's point size expressed in MM_HIMETRIC units (display size = (cyLogical / cyHimetric) * font size). The implementation with no parameters returns a handle to a font sized correctly for the screen.
HFONT GetFontHandle( ); HFONT GetFontHandle
( long cyLogical, long cyHimetric );
Header file: | Afxctl.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |