CODController::DragScrollHitTest
BOOLCODController::DragScrollHitTest(const CPoint&ptDrag)
Determine if the given point falls within the drag scroll margin.
Defined in: OdController.cpp
Return Value
TRUE if the given point falls in the drag scroll margin; otherwise FALSE.
Parameters
ptDrag
Device point to test.
Comments
The drag scroll margin is calculated by deflating the viewport bounds by m_nDragScrollMargin. If the point is inside the viewport bounds and outside of the deflated rectangle, then this function returns TRUE.See Also