CRangeSlider Class Reference

#include <RangeSlider.h>

List of all members.

Public Member Functions

 CRangeSlider ()
void Create (DWORD dwStyle, const RECT &rect, CWnd *pParentWnd, UINT nID, CCreateContext *pContext=NULL)
void SetMinMax (double min, double max)
void SetRange (double left, double right)
double GetMin (void)
double GetMax (void)
double GetLeft (void)
double GetRight (void)
void GetMinMax (double &min, double &max)
void GetRange (double &left, double &right)
double GetVisualMin (void)
double GetVisualMax (void)
void GetVisualMinMax (double &VisualMin, double &VisualMax)
void SetVisualMinMax (double InnerMin, double InnerMax)
void SetVisualMode (BOOL bVisualMinMax=TRUE)
BOOL GetVisualMode (void)
void SetVerticalMode (BOOL bVerticalMode=TRUE)
BOOL GetVerticalMode (void)
void SetInvertedMode (BOOL bInvertedMode=TRUE)
BOOL GetInvertedMode (void)
virtual ~CRangeSlider ()

Protected Types

enum  _TrackMode { TRACK_LEFT, TRACK_RIGHT, TRACK_MIDDLE }

Protected Member Functions

afx_msg void OnPaint ()
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
afx_msg void OnMouseMove (UINT nFlags, CPoint point)
afx_msg void OnKillFocus (CWnd *pNewWnd)
afx_msg void OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags)
afx_msg void OnSetFocus (CWnd *pOldWnd)
afx_msg UINT OnGetDlgCode ()
void Normalize (void)
void NormalizeVisualMinMax (void)
void OnPaintHorizontal (CDC &dc)
void OnPaintVertical (CDC &dc)
BOOL RegisterWindowClass (void)

Protected Attributes

double m_Min
double m_Max
double m_Left
double m_Right
double m_VisualMin
double m_VisualMax
int m_nArrowWidth
BOOL m_bHorizontal
BOOL m_bVisualMinMax
BOOL m_bInvertedMode
BOOL m_bTracking
enum CRangeSlider::_TrackMode m_TrackMode
CRect m_RectLeft
CRect m_RectRight
int m_dx
CPoint m_ClickOffset


Member Enumeration Documentation

enum CRangeSlider::_TrackMode [protected]

Enumerator:
TRACK_LEFT 
TRACK_RIGHT 
TRACK_MIDDLE 


Constructor & Destructor Documentation

CRangeSlider::CRangeSlider (  ) 

CRangeSlider::~CRangeSlider (  )  [virtual]


Member Function Documentation

void CRangeSlider::Create ( DWORD  dwStyle,
const RECT &  rect,
CWnd *  pParentWnd,
UINT  nID,
CCreateContext *  pContext = NULL 
)

BOOL CRangeSlider::GetInvertedMode ( void   )  [inline]

double CRangeSlider::GetLeft ( void   )  [inline]

double CRangeSlider::GetMax ( void   )  [inline]

double CRangeSlider::GetMin ( void   )  [inline]

void CRangeSlider::GetMinMax ( double &  min,
double &  max 
) [inline]

void CRangeSlider::GetRange ( double &  left,
double &  right 
) [inline]

double CRangeSlider::GetRight ( void   )  [inline]

BOOL CRangeSlider::GetVerticalMode ( void   )  [inline]

double CRangeSlider::GetVisualMax ( void   )  [inline]

double CRangeSlider::GetVisualMin ( void   )  [inline]

void CRangeSlider::GetVisualMinMax ( double &  VisualMin,
double &  VisualMax 
) [inline]

BOOL CRangeSlider::GetVisualMode ( void   )  [inline]

void CRangeSlider::Normalize ( void   )  [protected]

void CRangeSlider::NormalizeVisualMinMax ( void   )  [protected]

UINT CRangeSlider::OnGetDlgCode (  )  [protected]

void CRangeSlider::OnKeyDown ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
) [protected]

void CRangeSlider::OnKillFocus ( CWnd *  pNewWnd  )  [protected]

void CRangeSlider::OnLButtonDown ( UINT  nFlags,
CPoint  point 
) [protected]

void CRangeSlider::OnLButtonUp ( UINT  nFlags,
CPoint  point 
) [protected]

void CRangeSlider::OnMouseMove ( UINT  nFlags,
CPoint  point 
) [protected]

void CRangeSlider::OnPaint (  )  [protected]

void CRangeSlider::OnPaintHorizontal ( CDC &  dc  )  [protected]

void CRangeSlider::OnPaintVertical ( CDC &  dc  )  [protected]

void CRangeSlider::OnSetFocus ( CWnd *  pOldWnd  )  [protected]

BOOL CRangeSlider::RegisterWindowClass ( void   )  [protected]

void CRangeSlider::SetInvertedMode ( BOOL  bInvertedMode = TRUE  ) 

void CRangeSlider::SetMinMax ( double  min,
double  max 
)

void CRangeSlider::SetRange ( double  left,
double  right 
)

void CRangeSlider::SetVerticalMode ( BOOL  bVerticalMode = TRUE  ) 

void CRangeSlider::SetVisualMinMax ( double  InnerMin,
double  InnerMax 
)

void CRangeSlider::SetVisualMode ( BOOL  bVisualMinMax = TRUE  ) 


Member Data Documentation

BOOL CRangeSlider::m_bHorizontal [protected]

BOOL CRangeSlider::m_bTracking [protected]

CPoint CRangeSlider::m_ClickOffset [protected]

int CRangeSlider::m_dx [protected]

double CRangeSlider::m_Left [protected]

double CRangeSlider::m_Max [protected]

double CRangeSlider::m_Min [protected]

int CRangeSlider::m_nArrowWidth [protected]

CRect CRangeSlider::m_RectLeft [protected]

CRect CRangeSlider::m_RectRight [protected]

double CRangeSlider::m_Right [protected]

double CRangeSlider::m_VisualMax [protected]

double CRangeSlider::m_VisualMin [protected]


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

Generated on Wed Dec 10 12:18:30 2008 for volRendering by  doxygen 1.5.7.1