Spread 8.0 Documentation
SS_CT_APPEARANCE Structure
Support Options
DLL Reference > DLL Structures > SS_CT_APPEARANCE Structure

Glossary Item Box

SS_CT_APPEARANCE Structure


See Also

Applies To

fpSpread control

Definition

typedef struct ss_ct_appearance
    {
    COLORREF clrBackColor;
    COLORREF clrForeColor;
    COLORREF clrSelBackColor;
    COLORREF clrSelForeColor;
    COLORREF clrLockBackColor;
    COLORREF clrLockForeColor;
    HFONT hFont;
    LONG lStyle;
    BOOL fDrawPrimaryButton;
    BOOL fDrawSecondaryButton;
    BOOL fDrawColors;
    } SS_CT_APPEARANCE, FAR *LPSS_CT_APPEARANCE;

Fields

The following fields are available:

Field Description
clrBackColor Background color for the cell
clrForeColor Text color for the cell
clrSelBackColor Selected background color for the cell
clrSelForeColor Selected forecolor for the cell
clrLockBackColo Locked backcolor for the cell
clrLockForeColor Locked forecolor for the cell
hFont Font for the cell
fDrawPrimaryButton True to draw primary buttons
fDrawSecondaryButton True to draw secondary buttons (such as a combo)
fDrawColors True to draw colors

Remarks

This structure is used in the custom cell type callback methods to specify values for editing and rendering.

See Also

SS_CT_GETPREFERREDSIZE_ARGS, SS_CT_INITIALIZECONTROL_ARGS, SS_CT_ISRESERVEDLOCATION_ARGS, SS_CT_PAINTCELL, SS_CT_BUFFER structures

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