crashrpt2
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
WTL::CZoomScrollImpl< T > Class Template Reference
Inheritance diagram for WTL::CZoomScrollImpl< T >:
WTL::CScrollImpl< T > WTL::CScrollImpl< T > WTL::CZoomScrollWindowImpl< T, TBase, TWinTraits >

Classes

struct  _ChildPlacement
 

Public Types

enum  { m_cxyMinZoomRect = 12 }
 
- Public Types inherited from WTL::CScrollImpl< T >
enum  { uSCROLL_FLAGS = SW_INVALIDATE }
 

Public Member Functions

void SetScrollSize (int cxLog, int cyLog, BOOL bRedraw=TRUE, bool bResetOffset=true)
 
void SetScrollSize (SIZE sizeLog, BOOL bRedraw=TRUE, bool bResetOffset=true)
 
void GetScrollSize (SIZE &sizeLog) const
 
void SetScrollLine (int cxLogLine, int cyLogLine)
 
void SetScrollLine (SIZE sizeLogLine)
 
void GetScrollLine (SIZE &sizeLogLine) const
 
void SetScrollPage (int cxLogPage, int cyLogPage)
 
void SetScrollPage (SIZE sizeLogPage)
 
void GetScrollPage (SIZE &sizeLogPage) const
 
void SetZoomScale (float fZoomScale)
 
float GetZoomScale () const
 
void SetZoomScaleMin (float fZoomScaleMin)
 
float GetZoomScaleMin () const
 
void SetZoomScaleMax (float fZoomScaleMax)
 
float GetZoomScaleMax () const
 
void SetZoomDelta (float fZoomDelta)
 
float GetZoomDelta () const
 
void SetZoomMode (int nZoomMode)
 
int GetZoomMode () const
 
void SetZoomChildren (bool bEnable=true)
 
bool GetZoomChildren () const
 
void Zoom (int x, int y, float fZoomScale)
 
void Zoom (POINT pt, float fZoomScale)
 
void Zoom (RECT &rc)
 
void Zoom (float fZoomScale, bool bCenter=true)
 
void PrepareDC (CDCHandle dc)
 
void ViewDPtoLP (LPPOINT lpPoints, int nCount=1)
 
void ViewLPtoDP (LPPOINT lpPoints, int nCount=1)
 
void ClientToDevice (POINT &pt)
 
void DeviceToClient (POINT &pt)
 
void CenterOnPoint (POINT pt)
 
void CenterOnLogicalPoint (POINT ptLog)
 
BOOL PtInDevRect (POINT pt)
 
void NormalizeRect (RECT &rc)
 
void DrawTrackRect ()
 
void NotifyParentZoomChanged ()
 
LRESULT OnPaint (UINT, WPARAM wParam, LPARAM, BOOL &)
 
LRESULT OnLButtonDown (UINT, WPARAM, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnMouseMove (UINT, WPARAM, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnLButtonUp (UINT, WPARAM, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnCaptureChanged (UINT, WPARAM, LPARAM, BOOL &bHandled)
 
LRESULT OnSetCursor (UINT, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
 
void SetZoomScrollSize (_WTYPES_NS::CSize sizeTrue, double fzoom=1., BOOL bRedraw=TRUE)
 
void SetZoomScrollSize (int cx, int cy, double fzoom=1., BOOL bRedraw=TRUE)
 
void SetZoom (double fzoom, BOOL bRedraw=TRUE)
 
double GetZoom ()
 
void SetScrollOffset (int x, int y, BOOL bRedraw=TRUE)
 
void SetScrollOffset (POINT ptOffset, BOOL bRedraw=TRUE)
 
void GetScrollOffset (POINT &ptOffset)
 
void SetScrollSize (int cx, int cy, BOOL bRedraw=TRUE)
 
void SetScrollSize (SIZE sizeTrue, BOOL bRedraw=TRUE)
 
void GetScrollSize (SIZE &sizeTrue) const
 
void SetScrollPage (int cxPage, int cyPage)
 
void SetScrollPage (SIZE sizePage)
 
void GetScrollPage (SIZE &sizePage) const
 
void SetScrollLine (int cxLine, int cyLine)
 
void SetScrollLine (SIZE sizeLine)
 
void GetScrollLine (SIZE &sizeLine) const
 
_WTYPES_NS::CSize GetScrollSize ()
 
_WTYPES_NS::CSize GetScrollPage ()
 
_WTYPES_NS::CSize GetScrollLine ()
 
_WTYPES_NS::CPoint GetScrollOffset ()
 
_WTYPES_NS::CPoint WndtoTrue (CPoint ptW)
 
void WndtoTrue (LPPOINT aptW, int nPts)
 
void WndtoTrue (LPRECT prectW)
 
_WTYPES_NS::CPoint TruetoWnd (CPoint ptT)
 
void TruetoWnd (LPPOINT aptT, int nPts)
 
void TruetoWnd (LPRECT prectT)
 
BOOL Draw (HBITMAP hbm, HDC hdestDC, DWORD dwROP=SRCCOPY)
 
BOOL Draw (HDC hsourceDC, HDC hdestDC, DWORD dwROP=SRCCOPY)
 
LRESULT OnEraseBkgnd (UINT, WPARAM wParam, LPARAM, BOOL &bHandled)
 
- Public Member Functions inherited from WTL::CScrollImpl< T >
DWORD GetScrollExtendedStyle () const
 
DWORD SetScrollExtendedStyle (DWORD dwExtendedStyle, DWORD dwMask=0)
 
void SetScrollOffset (int x, int y, BOOL bRedraw=TRUE)
 
void SetScrollOffset (POINT ptOffset, BOOL bRedraw=TRUE)
 
void GetScrollOffset (POINT &ptOffset) const
 
void SetScrollSize (int cx, int cy, BOOL bRedraw=TRUE, bool bResetOffset=true)
 
void SetScrollSize (SIZE size, BOOL bRedraw=TRUE, bool bResetOffset=true)
 
void GetScrollSize (SIZE &sizeWnd) const
 
void SetScrollLine (int cxLine, int cyLine)
 
void SetScrollLine (SIZE sizeLine)
 
void GetScrollLine (SIZE &sizeLine) const
 
void SetScrollPage (int cxPage, int cyPage)
 
void SetScrollPage (SIZE sizePage)
 
void GetScrollPage (SIZE &sizePage) const
 
void ScrollLineDown ()
 
void ScrollLineUp ()
 
void ScrollPageDown ()
 
void ScrollPageUp ()
 
void ScrollTop ()
 
void ScrollBottom ()
 
void ScrollLineRight ()
 
void ScrollLineLeft ()
 
void ScrollPageRight ()
 
void ScrollPageLeft ()
 
void ScrollAllLeft ()
 
void ScrollAllRight ()
 
void ScrollToView (POINT pt)
 
void ScrollToView (RECT &rect)
 
void ScrollToView (HWND hWnd)
 
LRESULT OnCreate (UINT, WPARAM, LPARAM, BOOL &bHandled)
 
LRESULT OnVScroll (UINT, WPARAM wParam, LPARAM, BOOL &)
 
LRESULT OnHScroll (UINT, WPARAM wParam, LPARAM, BOOL &)
 
LRESULT OnMouseWheel (UINT uMsg, WPARAM wParam, LPARAM, BOOL &)
 
LRESULT OnMouseHWheel (UINT, WPARAM wParam, LPARAM, BOOL &)
 
LRESULT OnSettingChange (UINT, WPARAM, LPARAM, BOOL &)
 
LRESULT OnSize (UINT, WPARAM, LPARAM lParam, BOOL &bHandled)
 
LRESULT OnPaint (UINT, WPARAM wParam, LPARAM, BOOL &)
 
LRESULT OnScrollUp (WORD, WORD, HWND, BOOL &)
 
LRESULT OnScrollDown (WORD, WORD, HWND, BOOL &)
 
LRESULT OnScrollPageUp (WORD, WORD, HWND, BOOL &)
 
LRESULT OnScrollPageDown (WORD, WORD, HWND, BOOL &)
 
LRESULT OnScrollTop (WORD, WORD, HWND, BOOL &)
 
LRESULT OnScrollBottom (WORD, WORD, HWND, BOOL &)
 
LRESULT OnScrollLeft (WORD, WORD, HWND, BOOL &)
 
LRESULT OnScrollRight (WORD, WORD, HWND, BOOL &)
 
LRESULT OnScrollPageLeft (WORD, WORD, HWND, BOOL &)
 
LRESULT OnScrollPageRight (WORD, WORD, HWND, BOOL &)
 
LRESULT OnScrollAllLeft (WORD, WORD, HWND, BOOL &)
 
LRESULT OnScrollAllRight (WORD, WORD, HWND, BOOL &)
 
void DoPaint (CDCHandle)
 
void DoSize (int cx, int cy)
 
void DoScroll (int nType, int nScrollCode, int &cxyOffset, int cxySizeAll, int cxySizePage, int cxySizeLine)
 
bool AdjustScrollOffset (int &x, int &y)
 
void GetSystemSettings ()
 
bool IsScrollingChildren () const
 
bool IsErasingBackground () const
 
bool IsNoThumbTracking () const
 

Public Attributes

SIZE m_sizeLogAll
 
SIZE m_sizeLogLine
 
SIZE m_sizeLogPage
 
float m_fZoomScale
 
float m_fZoomScaleMin
 
float m_fZoomScaleMax
 
float m_fZoomDelta
 
int m_nZoomMode
 
RECT m_rcTrack
 
bool m_bTracking
 
bool m_bZoomChildren
 
ATL::CSimpleArray< _ChildPlacementm_arrChildren
 
_WTYPES_NS::CSize m_sizeTrue
 
double m_fzoom
 
- Public Attributes inherited from WTL::CScrollImpl< T >
POINT m_ptOffset
 
SIZE m_sizeAll
 
SIZE m_sizeLine
 
SIZE m_sizePage
 
SIZE m_sizeClient
 
int m_zDelta
 
int m_nWheelLines
 
UINT m_uMsgMouseWheel
 
int m_zHDelta
 
int m_nHWheelChars
 
UINT m_uScrollFlags
 
DWORD m_dwExtendedStyle
 

Additional Inherited Members

- Static Public Member Functions inherited from WTL::CScrollImpl< T >
static int CalcLineOrPage (int nVal, int nMax, int nDiv)
 

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