Spread 8.0 Documentation
SSGetTabStripFont, SSSetTabStripFont Functions
Support Options
DLL Reference > DLL Functions > SSGetTabStripFont, SSSetTabStripFont Functions

Glossary Item Box

SSGetTabStripFont, SSSetTabStripFont Functions


See Also    ActiveX    Example

Applies To

fpSpread DLL control

Description

Set or return the font characteristics for the text in the tab strip.

Syntax

C

HFONT SSGetTabStripFont(HWND hWnd);

BOOL SSSetTabStripFont(HWND hWnd, HFONT hFont);

C++

HFONT TSpread::GetTabStripFont( );

BOOL TSpread::SetTabStripFont(HFONT hFont);

Parameters

The SSGetTabStripFont function has the following parameter:

Parameter Description
hWnd Window handle of the fpSpread control

The SSSetTabStripFont function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
hFont Handle to the font to use

Remarks

This function is applied to the tab strip displayed for the workbook.

Note: If you are using the Spread DLL control with a language that uses the double-byte character set (DBCS), you must change the font to a font that supports DBCS.

Return Value

SSGetTabStripFont: The return value is a handle to the font used by the tab strip. Refer to your development environment's documentation for more information on fonts.
SSSetTabStripFont: TRUE if the function completes successfully; FALSE otherwise.

See Also

Customizing the Tab Strip

SSGetTabStripLeftSheet, SSGetTabStripPolicy, SSGetTabStripRatio, SSSetTabStripLeftSheet, SSSetTabStripPolicy, SSSetTabStripRatio functions

ActiveX Correspondence

TabStripFont property

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.