ZeeGrid Control Message

ZGM_SETCELLEDIT


ZGM_SETCELLEDIT

An application sends a ZGM_SETCELLEDIT message to set the edit attribute value of the specified cell in the ZeeGrid.

ZGM_SETCELLEDIT
wParam = (WPARAM)(int) iCellIndex;   //Cell index
lParam = (LPARAM)(int) iEdit;        //Edit attribute value

Parameters

iCellIndex
The value of wParam. The cell index to set the edit attribute value.

iEdit
The value of lParam. The edit attribute value to set the specified cell to. Valid edit attribute values are in the range of [0..4]. A value of 0 means that the cell is not editable, or readonly. A value of 1 means that the cell is editable with a text edit box. A value of 2 means that the cell is editable with a droplist combo box. A value of 3 means that the cell is a boolean value and is editable by double-clicking the cell to change the boolean state from TRUE to FALSE or vice versa. A value of 4 means the cell is editable with date picker common control.

Return Values

This message does not return a value.

Copyright © 2002-2016 by David Hillard