Spread 8.0 Documentation
SSGetShadowColor, SSSetShadowColor Functions
Support Options
DLL Reference > DLL Functions > SSGetShadowColor, SSSetShadowColor Functions

Glossary Item Box

SSGetShadowColor, SSSetShadowColor Functions


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Set or return the shadow colors displayed in the fpSpread control.

Syntax

C

void SSGetShadowColor(HWND hWnd, LPCOLORREF lpShadowColor, LPCOLORREF lpShadowText, LPCOLORREF lpShadowDark, LPCOLORREF lpShadowLight);

void SSSetShadowColor(HWND hWnd, COLORREF ShadowColor, COLORREF ShadowText, COLORREF ShadowDark, COLORREF ShadowLight);

C++

void TSpread::GetShadowColor(LPCOLORREF lpShadowColor, LPCOLORREF lpShadowText, LPCOLORREF lpShadowDark, LPCOLORREF lpShadowLight);

void TSpread::SetShadowColor(COLORREF ShadowColor, COLORREF ShadowText, COLORREF ShadowDark, COLORREF ShadowLight);

Parameters

The SSGetShadowColor function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
lpShadowColor Pointer to the variable that receives the color of the shadow
(Defaults to Windows system button face color (COLOR_BTNFACE (Windows 3.1), COLOR_3DFACE (Windows 95 or later))
lpShadowText Pointer to the variable that receives the color of text printed on the shadow
lpShadowDark Pointer to the variable that receives the color of the dark portion of the three-dimensional effect
(Defaults to Windows system button shadow color (COLOR_BTNSHADOW (Windows 3.1), COLOR_3DSHADOW (Windows 95 or later))
lpShadowLight Pointer to the variable that receives the color of the light portion of the three-dimensional effect
(Defaults to Windows system button highlight color (COLOR_BTNHIGHLIGHT (Windows 3.1), COLOR_3DHILIGHT (Windows 95 or later))

The SSSetShadowColor function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
ShadowColor Color to use for the shadow portion of the fpSpread control
(Value can be SPREAD_COLOR_NONE, which specifies to use the default sheet shadow color.)
ShadowText Color to use for the shadow text of the fpSpread control
(Value can be SPREAD_COLOR_NONE, which specifies to use the default sheet text color.)
ShadowDark Color to use for the dark portion of the shadow
(Value can be SPREAD_COLOR_NONE, which specifies to use the default sheet shadow dark color.)
ShadowLight Color to use for the light portion of the shadow
(Value can be SPREAD_COLOR_NONE, which specifies to use the default sheet shadow light color.)

Remarks

This function is applied to the current sheet setting unless you first call the SSSetSheet function to specify the sheet for which you are calling this function.

See Also

Setting the Header Shadow Color
Setting the Header Background and Text Colors
Creating and Customizing a Static Text Cell
Displaying Three-Dimensional Appearance in a Static Text Cell

SSGetColor, SSSetColor, SSSetSheet functions

ActiveX Correspondence

ShadowColor, ShadowDark, ShadowText properties

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