MTM_MouseLeaveItem

This message is sent when the mouse pointer has left a table item.

Parameters
wParam
Type of the item, e.g. MTBL_ITEM_CELL.
lParam
ID of the item. Use this ID along with MTblGetItem.

Return
The return value is ignored

Remarks
This message is also sent when:
- the mouse has been captured
- the table is in editing mode and the mouse pointer enters the cell with the input focus
- the table has been disabled
- a modal dialog was shown

Example
In this example the highlighted state of a cell is removed on MTM_MouseLeaveItem:

On MTM_MouseLeaveItem
  Call MTblGetItem( hWndTbl, lParam, oItem )
  If oItem.Type = MTBL_ITEM_CELL
    Call MTblSetHighlighted( hWndTbl, oItem.Type, oItem.HWndParam, oItem.NParam, FALSE )

See also
MTM_MouseEnterItem
fcMTblItem
MTblGetItem
Extended messages
Highlighting

Created with the Personal Edition of HelpNDoc: iPhone web sites made easy