Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Returns the number of additional font handles registered in the grid control with the CExtGridWnd::GridFontInsert() method. The method returns -1 if not additional font handles have been registered.

INT GridFontGetCount() const;


By default, text in all cells is drawn using a font specified in the current paint manager (CExtScrollItemWnd::OnSiwGetDefaultFont()). You can add a custom font using CExtGridWnd::GridFontInsert() and use this font for drawing text in a particular cell (CExtGridCell::FontIndexSet()).

See Also

CExtGridWnd Overview | Class Members | Hierarchy Chart