MTM_BeforeEnterEditMode

This message is sent before the table enters the editing mode ( i.e. a cell is about the receive the input focus ).

Parameters
wParam
Column handle of the cell
lParam
Row number of the cell

Return
To prevent entering editing mode, return MTBL_NODEFAULTACTION.
To enter editing mode, return nothing or any other value.

Remarks
This message is also sent when the table is already in editing mode and the input cell is about to change.
It's not possible to set the input focus to another cell ( e.g. with SalTblSetFocusCell ) while this message is processed.

Created with the Personal Edition of HelpNDoc: Create HTML Help, DOC, PDF and print manuals from 1 single source