Article # 460, added by Geoworks, historical record
| first | previous | index | next | last |

How to tell when user changes table cell.



Q. How can I monitor when a user changes the selected cell in a Table?

A. Unfortunately, there is no default mechanism which will send you
   MSG_TABLE_SELECT whenever the selection changes.

   You will have to subclass these messages and have them send you
   notification whenever the selection changes:
   MSG_TABLE_CHANGE_ROW_RANGE_SELECTION - initiated by cursor keys
   MSG_TABLE_SELECT - initiated by pen/pointer selection
   MSG_TABLE_REDRAW_CURRENT_SELECTION - selection changed by scrolling
   action MSG_SET_CURRENT_SELECTION - program initiated selection change.