CExtGridWnd::GridFontGetAt

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

Returns the font handle by index or NULL there is no handle with the specified index.

HFONT * GridFontGetAt(
   INT nIdx
);
HFONT * GridFontGetAt(
   INT nIdx
) const;

Parameters

nIdx
Font index.

Remarks

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