CGXGridCore::OnSelDragMove
virtual BOOL OnSelDragMove(ROWCOL nStartRow, ROWCOL nStartCol, ROWCOL nDragRow, ROWCOL nDragCol);?
nStartRow
Specifies the source row.
nStartCol
Specifies the source column.
nDragRow
Specifies the destination row.
nDragCol
Specifies the destination column.
Return Value
TRUE if dragging cells to this destination is possible; otherwise FALSE.
Remarks
Overridable method which marks the current destination row or column.
This method is called when the user has moved the mouse to a different row or column.
You might check m_nSelDragMode to determine whether the user is dragging columns. If m_nSelDragMode is GX_SELDRAG_ROW,the user is dragging rows. Otherwise he is dragging columns (m_nSelDragMode is GX_SELDRAG_COL).
Control-Factory Specific ->
This method has been implemented using the abstraction mechanism as discussed in the chapter "Reducing the size of your application" in the user's guide. A call to the ImplementUserDragSelectRange method from within the control factory class' InitializeGridComponents method will make the concrete implementation of this method available to your application.
If no concrete implementation is available this method returns FALSE. A warning will be displayed in the debug window.
END Control-Factory Specific
See Also
CGXGridCore::OnSelDragStart CGXGridCore::OnSelDragDrop