2.2.6.17.105 GridControl::SetGridFont


Description

Sets the name of the font.

Syntax

BOOL SetGridFont( int iFont )

Parameters

iFont
[input] SYSTEM_FONT, DEVICE_DEFAULT_FONT, DEFAULT_GUI_FONT, ANSI_VAR_FONT, OEM_FIXED_FONT, ANSI_FIXED_FONT, or SYSTEM_FIXED_FONT. See their definitions in mswin.h

Return

true on successful or false on failure

Examples

Example codes can be pasted to doExample() function in GridControl's examples to run

	m_GridCtrl.SetGridFont(DEVICE_DEFAULT_FONT);

Remark

See Also

Header to Included

GridControl.h