MTblGetSepRow
lRow = MTblGetSepRow( hWndTbl, nX, nY )
Returns, if the passed coordinates are over a row header separator, the number of the row the separator belongs to.
Parameters
hWndTbl
Window Handle: Handle of the table
nX
Number: Screen pixel X coordinate relative to upper left corner of the table.
nY
Number: Screen pixel Y coordinate relative to upper left corner of the table.
Return
Number: Number of the row the separator belongs to or TBL_Error if the coordinates are not over a row header separator
Example
In this example a beep is played if the mouse is over the row header separator of the first visible row:
On WM_MOUSEMOVE
Set nX = SalNumberLow( lParam )
Set nY = SalNumberHigh( lParam )
If MTblObjFromPoint( hWndTbl, nX, nY, nRow, hWndCol, nFlags, nMTblFlags )
Set lRow = -1
Call SalTblFindNextRow( hWndTbl, lRow, 0, ROW_Hidden )
If ( nMTblFlags & MTOFP_OVERROWHDRSEP And MTblGetSepRow( nX, nY ) = lRow )
Call SalMessageBeep( 0 )
See also
MTblObjFromPoint
Size, location and hit test
Created with the Personal Edition of HelpNDoc: Write EPub books for the iPad