CGXGridCore::SetAutoScroll

void SetAutoScroll(BOOL bAutoScroll);

bAutoScroll

Specifies the behavior: TRUE if autoscroll-mode should be enabled when user is dragging mouse outside the grid; otherwise FALSE.

Remarks

Specify if grid should enable autoscroll-mode when user is dragging mouse outside the grid.

SetAutoScroll will not affect the scrolling behavior during OLE Drag and Drop. To affect scrolling during drag and drop, change the flags in EnableOleDropTarget.

Control-Factory Specific ->

Auto-scrolling 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 ImplementAutoScroll method from within the control factory class' InitializeGridComponents method will make the concrete implementation for auto-scrolling available to your application.

If no concrete implementation for auto-scrolling is available this method has no effect.

END Control-Factory Specific

See Also

 CGXGridCore::AutoScroll  CGXGridCore::ImplementAutoScroll  CGXGridCore::EnableOleDropTarget

CGXGridCore

 Class Overview |  Class Members