Spread 8.0 Documentation
SSSetEnhancedCornerColors Function
Support Options
DLL Reference > DLL Functions > SSSetEnhancedCornerColors Function

Glossary Item Box

SSSetEnhancedCornerColors Function


See Also    ActiveX    Example

Applies To

fpSpread DLL control

Description

Sets the background colors for the corner cell(s) and triangle.

Syntax

C

BOOL SSSetEnhancedCornerColors(HWND hWnd, COLORREF clrBackColor, COLORREF clrHoverColor, COLORREF clrTriangle, COLORREF clrTriangleHover, COLORREF clrTriangleBorderColor, COLORREF clrTriangleHoverBorderColor);

C++

BOOL TSpread::SetEnhancedCornerColors(COLORREF clrBackColor, COLORREF clrHoverColor, COLORREF clrTriangle, COLORREF clrTriangleHover, COLORREF clrTriangleBorderColor, COLORREF clrTriangleHoverBorderColor);

Parameters

The following parameters are available:

Parameter Description
hWnd Window handle of the fpSpread control
clrBackColor Background color of the corner cell
clrHoverColor Background color of the corner cell when the mouse pointer is over the corner cell
clrTriangle Background color of the triangle in the corner cell
clrTriangleHover Background color of the triangle in the corner cell when the mouse pointer is over the triangle
clrTriangleBorderColor Background color of the triangle border
clrTriangleHoverBorderColor Background color of the triangle border when the mouse pointer is over the triangle

Remarks

This function is applied to the current sheet unless you call the SSSetSheet function to specify the sheet with which you want to work.

The hover color is the color when the mouse pointer is over the corner cell or triangle. The backcolor is the color of the corner cell and the triangle is the triangle in the corner cell. The border is the border around the triangle.

Return Value

TRUE if the function completes successfully; FALSE otherwise.

See Also

Customizing the Appearance

SSSetAppearanceStyle, SSSetSheet functions

ActiveX Correspondence

SetEnhancedCornerColors method

Copyright © GrapeCity, inc. All rights reserved.