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

Removes the specified font from the internal collection of custom fonts and returns the number of removed handles.

INT GridFontRemove(
   INT nIdx = 0,
   INT nCountToRemove = -1


Index of the font to be removed.
Number of the fonts to be removed starting from the font specified with nIdx. Set this parameter to -1, to remove all fonts with indexes equal to or greater than nIdx.


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