CODController::DoDragScroll

BOOLCODController::DoDragScroll(const CPoint&ptDrag, CSize&szScroll)

Scrolls the viewport if the point is within the drag scroll margin.

Defined in: OdController.cpp

Return Value

TRUE if the viewport is scrolled; otherwise FALSE.

Parameters

ptDrag

Mouse position in device units.

szScroll

Returns the number of device units scrolled in each direction.

See Also

SetDragScrolling