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

Glossary Item Box

SS_CT_PAINTCELL_ARGS Structure


See Also

Applies To

fpSpread control

Definition

typedef struct ss_ct_paintcell_args
    {
    LPTSTR lpszName;
    HWND hWndSpread;
    HWND hWndRenderer;
    HDC hDC;
    RECT rect;
    SS_CT_APPEARANCE Appearance;
    short Sheet;
    SS_CELLCOORD Cell;
    SS_CT_VALUE Value;
    BOOL flsSelected;
    BOOL flsLocked;
    } SS_CT_PAINTCELL_ARGS,
    FAR *LPSS_CT_PAINTCELL_ARGS;

Fields

The following fields are available:

Field Description
lpszName Custom cell type name
hWndSpread HWND of Spread control
hWndRenderer HWND of renderer control
hDC Device context to draw into
rect Rectangle for for the cell (client coordinates)
Appearance Appearance settings for the cell
Sheet Index of the sheet
Cell Coordinates for the cell
Value Value in the cell
flsSelected TRUE if the cell is selected
flsLocked TRUE if the cell is locked

Remarks

This structure is used in the PaintCell callback function for a custom cell type. Cell uses the SS_CELLCOORD structure. Value uses the SS_CT_VALUE structure.

See Also

SS_CT_PROCS structure

Copyright © GrapeCity, inc. All rights reserved.