MTM_MouseEnterItem
MTM_MouseEnterItem
This message is sent when the mouse pointer has entered 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 not sent when:
- the mouse is captured
- the table is in editing mode and the mouse pointer enters the cell with the input focus
- the table is disabled
- a modal dialog is shown
Example
In this example a cell is highlighted on MTM_MouseEnterItem:
On MTM_MouseEnterItem
Call MTblGetItem( hWndTbl, lParam, oItem )
If oItem.Type = MTBL_ITEM_CELL
Call MTblSetHighlighted( hWndTbl, oItem.Type, oItem.HWndParam, oItem.NParam, TRUE )
See also
MTM_MouseLeaveItem
fcMTblItem
MTblGetItem
Extended messages
Highlighting
Created with the Personal Edition of HelpNDoc: News and information about help authoring tools and software