bOk = MTblGetItem( hWndTbl, nID, cItem )

Gets the definition of an item.

Parameters
hWndTbl
Window Handle: Handle of the table

nID
Number: The ID of the item ( = lParam of messages MTM_MouseEnterItem and/or MTM_MouseLeaveItem )

cItem
fcMTblItem: UDV to retrieve the data

Return
Boolean: TRUE if successful or FALSE if not

Example
In this example we get the item data on MTM_MouseEnterItem and set the item highlighted:
On MTM_MouseEnterItem
  If MTblGetItem( hWndForm, lParam, Item )
    If Item.Type = MTBL_ITEM_CELL
      ! Set cell highlighted
      Call MTblSetHighlighted( Item, TRUE )

Remarks
Call this funcion only on MTM_MouseEnterItem and/or MTM_MouseLeaveItem!

See also
fcMTblItem
MTM_MouseEnterItem
MTM_MouseLeaveItem

Created with the Personal Edition of HelpNDoc: Easy CHM and documentation editor