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

Glossary Item Box

SS_CT_STOPEDITING_ARGS Structure


See Also

Applies To

fpSpread control

Definition

typedef struct ss_ct_stopediting_args
    {
    LPTSTR lpszName;
    HWND hWndSpread;
    HWND hWndEditor;
    short Sheet;
    SS_CELLCOORD Cell;
    BOOL Cancel;
    } SS_CT_STOPEDITING_ARGS,
    FAR *LPSS_CT_STOPEDITING_ARGS;

Fields

The following fields are available:

Field Description
lpszName Custom cell type name
hWndSpread HWND of Spread control
hWndEditor HWND of editor control
Sheet Index of the sheet
Cell Coordinates of the cell
Cancel TRUE to cancel edit mode stopping (out)

Remarks

This structure is used in the StopEditing callback function for a custom cell type. Cell uses the SS_CELLCOORD structure. The Cancel parameter can be used to cancel edit mode stopping in the case where the editor control needs to keep edit mode on while it displays a subeditor. The call back function can return FALSE from the StopEditing callback to leave edit mode on.

See Also

SS_CT_PROCS structure

Copyright © GrapeCity, inc. All rights reserved.