CChartScrollBar Class Reference

Class which manages the interaction with the axis scroll bar. More...

#include <ChartScrollBar.h>

List of all members.

Public Member Functions

void CreateScrollBar (const CRect &PlottingRect)
 Creates the scroll bar within a specified rectangle.
void OnHScroll (UINT nSBCode, UINT nPos)
 Called on horizontal scrolling.
void OnVScroll (UINT nSBCode, UINT nPos)
 Called on vertical scrolling.
void Refresh ()
 Refreshes the scroll bar position.
void SetEnabled (bool bEnabled)
 Enables/disables the scroll bar.
bool GetEnabled () const
 Returns true if the scroll bar is enabled.
void SetAutoHide (bool bAutoHide)
 Enables/disables the auto-hide mode.
bool GetAutoHide () const
 Returns true if the auto-hide mode is activated.
void OnMouseEnter ()
 Called when the mouse enters the scroll bar area.
void OnMouseLeave ()
 Called when the mouse leaves the scroll bar area.


Detailed Description

Class which manages the interaction with the axis scroll bar.

This class is used internally by the CChartAxis class.


Member Function Documentation

void CChartScrollBar::SetAutoHide ( bool  bAutoHide  )  [inline]

Enables/disables the auto-hide mode.

In auto-hide mode, the scroll bar is not visible unless the mouse is over the region of the scroll bar.


The documentation for this class was generated from the following files:

Generated on Sun Jan 17 13:33:11 2010 for ChartDemo by  doxygen 1.5.8