<< Return to Main Index

< Return to Class Index

CGXChild::MouseMoveOver

virtual BOOL MouseMoveOver(ROWCOL nRow, ROWCOL nCol, UINT nFlags, CPoint point);

nRow

Specifies the row id.

nCol

Specifies the column id.

nFlags

MK_SHIFT    Set if the SHIFT key is down.

point

Specifies the x- and y-coordinate of the cursor. These coordinates are always relative to the upper-left corner of the window.

Return Value

FALSE if the grid should show the default cursor for the given point; TRUE if you don’t want the grid to display the default cursor.

Remarks

Called from CGXControl::MouseMoveOver when the user is moving the mouse over the cell.

You may override this method and change the cursor on the fly by calling ShowContextCursor and then returning TRUE.

OnMouseMoveOver will not be called while the user is selecting cells, tracking row or column sizes, or dragging cells. It is only called when the user is moving the mouse without havin pressed a mouse button.

See Also

CGXGridCore::ShowContextCursor CGXGridCore::OnMouseMoveOver CGXControl::MouseMoveOver CGXGridCore::m_bDisableMouseMoveOver

CGXChild

Class Overview | Class Members