MTM_FocusCellChanged
MTM_FocusCellChanged
This message is sent when the table is in cell mode and the focus cell has changed.
The focus cell may change due to one of the following circumstances:
- a navigation key ( arrows, page up/down, home/end ) was pressed
- a mouse click
- a call to MTblSetFocusCell, SalTblSetFocusCell or SalTblSetFocusRow
- a call to SalTblDeleteRow or SalTblInsertRow
Parameters
wParam
Column handle of the new focus cell
lParam
Row number of the new focus cell
Return
The return value is ignored
Remarks
This message is sent after the focus data (row and column ) has been updated but before the focus area is calculated and drawn.
Therefore it's safe to modify the appearance of the focus ( with MTblDefineFocusFrame ) within the handler of this message.
Beware: Don't call any function that would change the focus cell directly or indirectly within the handler of this message - the results were unpredictable!
See also
Cell mode
Created with the Personal Edition of HelpNDoc: Benefits of a Help Authoring Tool