SS_CT_CREATEEDITORCONTROL_ARGS Structure
Applies To
fpSpread control
Definition
typedef struct ss_ct_createeditorcontrol_args
{
LPTSTR lpszName;
HWND hWndSpread;
INT CtrlId;
LONG lStyle;
HWND hWndEditor;
} SS_CT_CREATEEDITORCONTROL_ARGS,
FAR *LPSS_CT_CREATEEDITORCONTROL_ARGS;
Fields
The following fields are available:
Field | Description |
lpszName | Custom cell type name |
hWndSpread | HWND of Spread control |
lStyle | Style for the cell |
CtrlId | Value to use for control id |
hWndEditor | HWND of editor control (out) |
Remarks
This structure is used in the CreatedEditorControl callback function for a custom cell type. Out parameters are passed from the function back to Spread instead of from Spread to the function
The CtrlId is used when using CreatedWindow to create the editor control as a child window of the Spread control. The id should be passed into the hMenu parameter for CreateWindow or CreateWindowEx and should be a unique value for each child window.
See Also
SS_CT_PROCS structure