Gets the row index of the cell that contains the specified point.
SyntaxVB6
Copy Code
|
|---|
Public Function RowFromPoint( _ |
C++
Copy Code
|
|---|
public: |
The row index of the cell that contains the specified point, or -1 if there is no such cell.
RemarksIf the found cell spans more than one row, this method returns the index of the first row. RowFromPoint and ColumnFromPoint also consider the CurrScrollRow value and whether there are collapsed table sections defined through HeaderRow, so that the returned cell is the one that visually occupies the specified position.
See Also