BCGSuite for MFC
BCGPChartMouseConfig

Detailed Description

The BCGPChartMouseConfig defines mouse configuration for zoom and scroll operations.

You can either customize individual buttons or modifies, or load a predefined configuration using CBCGPChartVisualObject::SetZoomScrollConfig.

Public Types

enum  MouseWheelOptions
 
enum  ZoomScrollOptions
 

Public Member Functions

 ClearClears mouse configuration.
 
 GetZoomScrollOptionsReturns an enumerated value that specifies last loaded configuration.
 
 ResetResets the configuration to default state.
 
 SetConfigSets active mouse configuration for zoom and scroll.
 

Public Attributes

 m_nMagnifierInButtonSpecifies a mouse button to be used for Zoom In operation in Magnifier mode.
 
 m_nMagnifierInModifierSpecifies a modifier button to be used for Zoom In operations in Magnifier mode. It can be 0.
 
 m_nMagnifierOutButtonSpecifies a mouse button to be used for Zoom Out operations in Magnifier mode.
 
 m_nMagnifierOutModifierSpecifies a modifier key to be used for Zoom Out operations in Magnifier mode. It can be 0.
 
 m_nMagnifyFactorSpecifies zoom in and zoom out value for Magnifier mode.
 
 m_nPanButtonSpecifies a mouse button to be used for Scroll operations.
 
 m_nPanModifierSpecifies a modifier key to be used along with Pan mouse button to scroll the chart. It can be 0.
 
 m_nScrollByWheelModifierSpecifies a modifier key to be used along with mouse wheel to scroll or zoom the chart.
 
 m_nSelectionButtonSpecifies a mouse button to be used to select a chart area.
 
 m_nSelectionModifierSpecifies a modifier key to be used along with selection mouse button to select a chart area. It can be 0.
 
 m_nZoomButtonSpecifies a mouse button to be used in "zoom by selection" mode.
 
 m_nZoomInModifierSpecifies a modifier key to be used along with zoom button in "zoom by selection" mode. It can be 0.
 
 m_nZoomOutModifierSpecifies a modifier key to be used along with zoom button in "zoom by selection" mode. It can't be 0.
 
 m_wheelOptionsSpecifies mouse wheel mode.