MTblSetHighlighted

Functions ›› MTblSet... ››
Parent Previous Next

bOk = MTblSetHighlighted( cItem, bSet )

Sets or removes the highlighted state of an item ( e.g. a cell ).

Parameters
cItem
fcMTblItem: The item.

bSet
Boolean: TRUE to set or FALSE to remove the highlighted state

Return
Boolean: TRUE if successful or FALSE if not

Example
In this example we highlight a cell on the mouse enter notification:

On MTM_MouseEnterItem
 Call MTblGetItem( hWndTbl, lParam, oItem )
 If oItem.Type = MTBL_ITEM_CELL
   Call MTblSetHighlighted( oItem, TRUE )

See also
fcMTblItem
MTblIsHighlighted
Highlighting

Created with the Personal Edition of HelpNDoc: Free EBook and documentation generator