Hit-Testing
computes a hit value for a given point.
The following hit values are defined:
GX_HORZLINE - The point is on the gridline of a row header. GX_VERTLINE - The point is on the gridline of a column header. GX_HEADERHIT - The point is on the interior rectangle of a row or column header. GX_CELLHIT - The point is on the interior rectangle of a cell. GX_SELEDGEHIT - The point is on the edge of a selection. This hit value will only be generated if m_bHitTestSelEdge is TRUE. GX_NOHIT - No information is displayed at the pointOne use of HitTest() is for a context-sensitive mouse cursor. Whenever the mouse is moved, the grid calls HitTest() and changes the mouse cursor as necessary.
Note: