soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
SPanel Class Reference

Panel with Scrollbar Support. More...

#include <SPanel.h>

Inheritance diagram for SPanel:
IScrollBarHost SListCtrl

Public Member Functions

 SPanel ()
 Constructor for SPanel.
 
virtual ~SPanel ()
 Destructor for SPanel.
 
BOOL ShowScrollBar (int wBar, BOOL bShow) OVERRIDE
 Shows or hides a scrollbar.
 
BOOL EnableScrollBar (int wBar, BOOL bEnable) OVERRIDE
 Enables or disables a scrollbar.
 
BOOL IsScrollBarEnable (BOOL bVertical) SCONST OVERRIDE
 Checks if a scrollbar is enabled.
 
void SetScrollInfo (SCROLLINFO si, BOOL bVertical) OVERRIDE
 Sets the scroll information for a scrollbar.
 
BOOL SetScrollPos (BOOL bVertical, int nNewPos, BOOL bRedraw) OVERRIDE
 Sets the scroll position for a scrollbar.
 
int GetScrollPos (BOOL bVertical) SCONST OVERRIDE
 Gets the scroll position for a scrollbar.
 
BOOL SetScrollRange (BOOL bVertical, int nMinPos, int nMaxPos, BOOL bRedraw) OVERRIDE
 Sets the scroll range for a scrollbar.
 
BOOL GetScrollRange (BOOL bVertical, LPINT lpMinPos, LPINT lpMaxPos) SCONST OVERRIDE
 Gets the scroll range for a scrollbar.
 
BOOL HasScrollBar (BOOL bVertical) SCONST OVERRIDE
 Checks if a scrollbar is present.
 
virtual void WINAPI GetClientRect (LPRECT pRect) const
 Gets the client rectangle.
 
virtual CRect GetClientRect () const
 Gets the client rectangle.
 

Protected Member Functions

CRect GetScrollBarRect (BOOL bVert) SCONST OVERRIDE
 Gets the rectangle of a scrollbar.
 
ISkinObjGetScrollBarSkin (BOOL bVert) SCONST OVERRIDE
 Gets the skin for a scrollbar.
 
const SCROLLINFO * GetScrollBarInfo (BOOL bVert) SCONST OVERRIDE
 Gets the scroll information for a scrollbar.
 
int GetScrollBarArrowSize (BOOL bVert) SCONST OVERRIDE
 Gets the arrow size for a scrollbar.
 
void OnScrollUpdatePart (BOOL bVert, int iPart) OVERRIDE
 Updates a part of the scrollbar.
 
void OnScrollUpdateThumbTrack (BOOL bVert, int nPos) OVERRIDE
 Updates the thumb track of the scrollbar.
 
ISwndContainerGetScrollBarContainer () OVERRIDE
 Gets the container for the scrollbar.
 
void OnScrollCommand (BOOL bVert, int iCmd, int nPos) OVERRIDE
 Handles scroll commands.
 
void OnScrollSetTimer (BOOL bVert, char id, UINT uElapse) OVERRIDE
 Sets a timer for the scrollbar.
 
void OnScrollKillTimer (BOOL bVert, char id) OVERRIDE
 Kills a timer for the scrollbar.
 
const IInterpolator * GetScrollInterpolator () SCONST OVERRIDE
 Gets the interpolator for the scrollbar.
 
int GetScrollFadeFrames () SCONST OVERRIDE
 Gets the number of fade frames for the scrollbar.
 
BYTE GetScrollThumbTrackMinAlpha () SCONST OVERRIDE
 Gets the minimum alpha value for the scrollbar thumb track.
 
virtual int GetScrollLineSize (BOOL bVertical)
 Gets the line size for scrolling.
 
virtual BOOL OnScroll (BOOL bVertical, UINT uCode, int nPos)
 Handles scroll events.
 
virtual void OnColorize (COLORREF cr)
 Handles colorization events.
 
virtual void OnScaleChanged (int nScale)
 Handles scale change events.
 
virtual void OnContainerChanged (ISwndContainer *pOldContainer, ISwndContainer *pNewContainer)
 Handles container change events.
 
int GetSbWidth () const
 Gets the width of the scrollbar.
 
void ScrollUpdate ()
 Updates the scrollbar.
 
HRESULT OnAttrScrollbarSkin (SStringW strValue, BOOL bLoading)
 Handles the scrollbar skin attribute.
 
virtual HRESULT SetAttribute (const SNS::SStringW &amp;amp;amp;amp;strAttribName, const SNS::SStringW &amp;amp;amp;amp;strValue, BOOL bLoading=FALSE)
 
int OnCreate (LPVOID)
 Handles the WM_CREATE message.
 
void OnDestroy ()
 Handles the WM_DESTROY message.
 
void OnNcPaint (IRenderTarget *pRT)
 Handles the WM_NCPAINT message.
 
virtual BOOL OnNcHitTest (CPoint pt)
 Handles the WM_NCHITTEST message.
 
void OnNcLButtonDown (UINT nFlags, CPoint point)
 Handles the WM_NCLBUTTONDOWN message.
 
void OnNcLButtonUp (UINT nFlags, CPoint pt)
 Handles the WM_NCLBUTTONUP message.
 
void OnNcMouseMove (UINT nFlags, CPoint point)
 Handles the WM_NCMOUSEMOVE message.
 
void OnNcMouseLeave ()
 Handles the WM_NCMOUSELEAVE message.
 
LRESULT OnNcCalcSize (BOOL bCalcValidRects, LPARAM lParam)
 Handles the WM_NCCALCSIZE message.
 
BOOL OnMouseWheel (UINT nFlags, short zDelta, CPoint pt)
 Handles the WM_MOUSEWHEEL message.
 
void OnTimer (char cTimerID)
 Handles the WM_TIMER message.
 
void OnShowWindow (BOOL bShow, UINT nStatus)
 Handles the WM_SHOWWINDOW message.
 
void OnEnable (BOOL bEnable, UINT uStatus)
 Handles the WM_ENABLE message.
 
void OnVScroll (UINT nSBCode, UINT nPos, HWND hwnd)
 Handles the WM_VSCROLL message.
 
void OnHScroll (UINT nSBCode, UINT nPos, HWND hwnd)
 Handles the WM_HSCROLL message.
 
- Protected Member Functions inherited from IScrollBarHost
CRect GetScrollBarRect (BOOL bVert) SCONST PURE
 Gets the rectangle of the scrollbar.
 
ISkinObjGetScrollBarSkin (BOOL bVert) SCONST PURE
 Gets the skin for the scrollbar.
 
const SCROLLINFO * GetScrollBarInfo (BOOL bVert) SCONST PURE
 Gets the scroll information for the scrollbar.
 
int GetScrollBarArrowSize (BOOL bVert) SCONST PURE
 Gets the arrow size for the scrollbar.
 
void OnScrollUpdatePart (BOOL bVert, int iPart) PURE
 Updates a part of the scrollbar.
 
void OnScrollUpdateThumbTrack (BOOL bVert, int nPos) PURE
 Updates the thumb track of the scrollbar.
 
ISwndContainerGetScrollBarContainer () PURE
 Gets the container for the scrollbar.
 
BOOL IsScrollBarEnable (BOOL bVertical) SCONST PURE
 Checks if the scrollbar is enabled.
 
void OnScrollCommand (BOOL bVert, int iCmd, int nPos) PURE
 Handles scroll commands.
 
void OnScrollSetTimer (BOOL bVert, char id, UINT uElapse) PURE
 Sets a timer for the scrollbar.
 
void OnScrollKillTimer (BOOL bVert, char id) PURE
 Kills a timer for the scrollbar.
 
const IInterpolator * GetScrollInterpolator () SCONST PURE
 Gets the interpolator for the scrollbar.
 
int GetScrollFadeFrames () SCONST PURE
 Gets the number of fade frames for the scrollbar.
 
BYTE GetScrollThumbTrackMinAlpha () SCONST PURE
 Gets the minimum alpha value for the scrollbar thumb track.
 

Protected Attributes

SCROLLINFO m_siVer
 
SCROLLINFO m_siHoz
 
SAutoRefPtr< SSkinScrollbarm_pSkinSb
 
CRect m_rcClient
 
SLayoutSize m_nSbLeft
 
SLayoutSize m_nSbRight
 
SLayoutSize m_nSbTop
 
SLayoutSize m_nSbBottom
 
ScrollBarID m_dragSb
 
ScrollBarID m_hitSb
 
UINT m_wBarVisible
 
UINT m_wBarEnable
 
SScrollBarHandler m_sbVert
 
SScrollBarHandler m_sbHorz
 
DWORD m_dwUpdateTime
 
DWORD m_dwUpdateInterval
 
short m_zDelta
 
int m_nScrollSpeed
 
SAutoRefPtr< IInterpolator > m_fadeInterpolator
 
int m_fadeFrames
 
BYTE m_bySbThumbTrackMinAlpha
 

Additional Inherited Members

- Protected Types inherited from IScrollBarHost
enum  kSbConst { Timer_Wait = 100 , Timer_Go = 101 , kTime_Wait = 200 , kTime_Go = 100 }
 

Detailed Description

Panel with Scrollbar Support.

Description: Implements a panel with support for scrollbars in the non-client area.

Definition at line 30 of file SPanel.h.

Constructor & Destructor Documentation

◆ SPanel()

SPanel::SPanel ( )

Constructor for SPanel.

Definition at line 165 of file SPanel.cpp.

◆ ~SPanel()

virtual SPanel::~SPanel ( )
inlinevirtual

Destructor for SPanel.

Definition at line 44 of file SPanel.h.

Member Function Documentation

◆ EnableScrollBar()

BOOL SPanel::EnableScrollBar ( int wBar,
BOOL bEnable )

Enables or disables a scrollbar.

Parameters
wBarScrollbar identifier (SB_HORZ or SB_VERT).
bEnableTRUE to enable the scrollbar, FALSE to disable it.
Returns
TRUE if successful, FALSE otherwise.

Definition at line 202 of file SPanel.cpp.

◆ GetClientRect() [1/2]

CRect SPanel::GetClientRect ( ) const
virtual

Gets the client rectangle.

Returns
Client rectangle.

Reimplemented from SWindow.

Definition at line 368 of file SPanel.cpp.

◆ GetClientRect() [2/2]

void SPanel::GetClientRect ( LPRECT pRect) const
virtual

Gets the client rectangle.

Parameters
pRectPointer to receive the client rectangle.

Definition at line 363 of file SPanel.cpp.

◆ GetSbWidth()

int SPanel::GetSbWidth ( ) const
protected

Gets the width of the scrollbar.

Returns
Scrollbar width.

Definition at line 650 of file SPanel.cpp.

◆ GetScrollBarArrowSize()

int SPanel::GetScrollBarArrowSize ( BOOL bVert)
protected

Gets the arrow size for a scrollbar.

Parameters
bVertTRUE for vertical scrollbar, FALSE for horizontal scrollbar.
Returns
Arrow size.

Definition at line 62 of file SPanel.cpp.

◆ GetScrollBarContainer()

ISwndContainer * SPanel::GetScrollBarContainer ( )
protected

Gets the container for the scrollbar.

Returns
Pointer to the scrollbar container.

Definition at line 109 of file SPanel.cpp.

◆ GetScrollBarInfo()

const SCROLLINFO * SPanel::GetScrollBarInfo ( BOOL bVert)
protected

Gets the scroll information for a scrollbar.

Parameters
bVertTRUE for vertical scrollbar, FALSE for horizontal scrollbar.
Returns
Pointer to the scroll information structure.

Definition at line 57 of file SPanel.cpp.

◆ GetScrollBarRect()

SNSBEGIN CRect SPanel::GetScrollBarRect ( BOOL bVert)
protected

Gets the rectangle of a scrollbar.

Parameters
bVertTRUE for vertical scrollbar, FALSE for horizontal scrollbar.
Returns
Rectangle of the scrollbar.

Definition at line 11 of file SPanel.cpp.

◆ GetScrollBarSkin()

ISkinObj * SPanel::GetScrollBarSkin ( BOOL bVert)
protected

Gets the skin for a scrollbar.

Parameters
bVertTRUE for vertical scrollbar, FALSE for horizontal scrollbar.
Returns
Pointer to the scrollbar skin.

Definition at line 52 of file SPanel.cpp.

◆ GetScrollFadeFrames()

int SPanel::GetScrollFadeFrames ( )
protected

Gets the number of fade frames for the scrollbar.

Returns
Number of fade frames.

Definition at line 155 of file SPanel.cpp.

◆ GetScrollInterpolator()

const IInterpolator * SPanel::GetScrollInterpolator ( )
protected

Gets the interpolator for the scrollbar.

Returns
Pointer to the interpolator.

Definition at line 146 of file SPanel.cpp.

◆ GetScrollLineSize()

int SPanel::GetScrollLineSize ( BOOL bVertical)
protectedvirtual

Gets the line size for scrolling.

Parameters
bVerticalTRUE for vertical scrollbar, FALSE for horizontal scrollbar.
Returns
Line size.

Reimplemented in SMCListView, STileView, and STreeView.

Definition at line 616 of file SPanel.cpp.

◆ GetScrollPos()

int SPanel::GetScrollPos ( BOOL bVertical)

Gets the scroll position for a scrollbar.

Parameters
bVerticalTRUE for vertical scrollbar, FALSE for horizontal scrollbar.
Returns
Current scroll position.

Definition at line 276 of file SPanel.cpp.

◆ GetScrollRange()

BOOL SPanel::GetScrollRange ( BOOL bVertical,
LPINT lpMinPos,
LPINT lpMaxPos )

Gets the scroll range for a scrollbar.

Parameters
bVerticalTRUE for vertical scrollbar, FALSE for horizontal scrollbar.
lpMinPosPointer to receive the minimum scroll position.
lpMaxPosPointer to receive the maximum scroll position.
Returns
TRUE if successful, FALSE otherwise.

Definition at line 303 of file SPanel.cpp.

◆ GetScrollThumbTrackMinAlpha()

BYTE SPanel::GetScrollThumbTrackMinAlpha ( )
protected

Gets the minimum alpha value for the scrollbar thumb track.

Returns
Minimum alpha value.

Definition at line 160 of file SPanel.cpp.

◆ HasScrollBar()

BOOL SPanel::HasScrollBar ( BOOL bVertical)

Checks if a scrollbar is present.

Parameters
bVerticalTRUE for vertical scrollbar, FALSE for horizontal scrollbar.
Returns
TRUE if the scrollbar is present, FALSE otherwise.

Definition at line 313 of file SPanel.cpp.

◆ IsScrollBarEnable()

BOOL SPanel::IsScrollBarEnable ( BOOL bVertical)

Checks if a scrollbar is enabled.

Parameters
bVerticalTRUE for vertical scrollbar, FALSE for horizontal scrollbar.
Returns
TRUE if the scrollbar is enabled, FALSE otherwise.

Definition at line 221 of file SPanel.cpp.

◆ OnAttrScrollbarSkin()

HRESULT SPanel::OnAttrScrollbarSkin ( SStringW strValue,
BOOL bLoading )
protected

Handles the scrollbar skin attribute.

Parameters
strValueString value of the attribute.
bLoadingTRUE if loading, FALSE otherwise.
Returns
Result of the attribute handling.

Definition at line 607 of file SPanel.cpp.

◆ OnColorize()

void SPanel::OnColorize ( COLORREF cr)
protectedvirtual

Handles colorization events.

Parameters
crColor reference.

Reimplemented from SWindow.

Reimplemented in SMCListView, STileView, and STreeView.

Definition at line 631 of file SPanel.cpp.

◆ OnContainerChanged()

void SPanel::OnContainerChanged ( ISwndContainer * pOldContainer,
ISwndContainer * pNewContainer )
protectedvirtual

Handles container change events.

Parameters
pOldContainerPointer to the old container.
pNewContainerPointer to the new container.

Reimplemented from SWindow.

Definition at line 658 of file SPanel.cpp.

◆ OnCreate()

int SPanel::OnCreate ( LPVOID )
protected

Handles the WM_CREATE message.

Parameters
lpCreate structure.
Returns
Result of the message handling.

Definition at line 318 of file SPanel.cpp.

◆ OnDestroy()

void SPanel::OnDestroy ( )
protected

Handles the WM_DESTROY message.

Definition at line 326 of file SPanel.cpp.

◆ OnEnable()

void SPanel::OnEnable ( BOOL bEnable,
UINT uStatus )
protected

Handles the WM_ENABLE message.

Parameters
bEnableTRUE if the window is enabled, FALSE if disabled.
uStatusStatus of the window.

Definition at line 598 of file SPanel.cpp.

◆ OnHScroll()

void SPanel::OnHScroll ( UINT nSBCode,
UINT nPos,
HWND hwnd )
protected

Handles the WM_HSCROLL message.

Parameters
nSBCodeScroll code.
nPosPosition for the scroll.
hwndHandle to the window.

Definition at line 626 of file SPanel.cpp.

◆ OnMouseWheel()

BOOL SPanel::OnMouseWheel ( UINT nFlags,
short zDelta,
CPoint pt )
protected

Handles the WM_MOUSEWHEEL message.

Parameters
nFlagsFlags for the message.
zDeltaDelta value for the mouse wheel.
ptPoint where the mouse wheel was scrolled.
Returns
Result of the message handling.

Definition at line 484 of file SPanel.cpp.

◆ OnNcCalcSize()

LRESULT SPanel::OnNcCalcSize ( BOOL bCalcValidRects,
LPARAM lParam )
protected

Handles the WM_NCCALCSIZE message.

Parameters
bCalcValidRectsTRUE if valid rectangle calculation is required.
lParamLPARAM for the message.
Returns
Result of the message handling.

Definition at line 472 of file SPanel.cpp.

◆ OnNcHitTest()

BOOL SPanel::OnNcHitTest ( CPoint pt)
protectedvirtual

Handles the WM_NCHITTEST message.

Parameters
ptPoint to test.
Returns
Hit test result.

Reimplemented from SWindow.

Definition at line 373 of file SPanel.cpp.

◆ OnNcLButtonDown()

void SPanel::OnNcLButtonDown ( UINT nFlags,
CPoint point )
protected

Handles the WM_NCLBUTTONDOWN message.

Parameters
nFlagsFlags for the message.
pointPoint where the button was pressed.

Definition at line 380 of file SPanel.cpp.

◆ OnNcLButtonUp()

void SPanel::OnNcLButtonUp ( UINT nFlags,
CPoint pt )
protected

Handles the WM_NCLBUTTONUP message.

Parameters
nFlagsFlags for the message.
ptPoint where the button was released.

Definition at line 391 of file SPanel.cpp.

◆ OnNcMouseLeave()

void SPanel::OnNcMouseLeave ( )
protected

Handles the WM_NCMOUSELEAVE message.

Definition at line 452 of file SPanel.cpp.

◆ OnNcMouseMove()

void SPanel::OnNcMouseMove ( UINT nFlags,
CPoint point )
protected

Handles the WM_NCMOUSEMOVE message.

Parameters
nFlagsFlags for the message.
pointPoint where the mouse moved.

Definition at line 403 of file SPanel.cpp.

◆ OnNcPaint()

void SPanel::OnNcPaint ( IRenderTarget * pRT)
protected

Handles the WM_NCPAINT message.

Parameters
pRTPointer to the render target.

Definition at line 333 of file SPanel.cpp.

◆ OnScaleChanged()

void SPanel::OnScaleChanged ( int nScale)
protectedvirtual

Handles scale change events.

Parameters
nScaleNew scale value.

Reimplemented from SWindow.

Reimplemented in SListBox, SMCListView, SRichEdit, STileView, and STreeView.

Definition at line 638 of file SPanel.cpp.

◆ OnScroll()

BOOL SPanel::OnScroll ( BOOL bVertical,
UINT uCode,
int nPos )
protectedvirtual

Handles scroll events.

Parameters
bVerticalTRUE for vertical scrollbar, FALSE for horizontal scrollbar.
uCodeScroll code.
nPosPosition for the scroll.
Returns
TRUE if handled, FALSE otherwise.

Reimplemented in SListCtrl, SMCListView, SRichEdit, SScrollView, STileView, and STreeView.

Definition at line 517 of file SPanel.cpp.

◆ OnScrollCommand()

void SPanel::OnScrollCommand ( BOOL bVert,
int iCmd,
int nPos )
protected

Handles scroll commands.

Parameters
bVertTRUE for vertical scrollbar, FALSE for horizontal scrollbar.
iCmdCommand identifier.
nPosPosition for the command.

Definition at line 130 of file SPanel.cpp.

◆ OnScrollKillTimer()

void SPanel::OnScrollKillTimer ( BOOL bVert,
char id )
protected

Kills a timer for the scrollbar.

Parameters
bVertTRUE for vertical scrollbar, FALSE for horizontal scrollbar.
idTimer identifier.

Definition at line 141 of file SPanel.cpp.

◆ OnScrollSetTimer()

void SPanel::OnScrollSetTimer ( BOOL bVert,
char id,
UINT uElapse )
protected

Sets a timer for the scrollbar.

Parameters
bVertTRUE for vertical scrollbar, FALSE for horizontal scrollbar.
idTimer identifier.
uElapseElapse time for the timer.

Definition at line 136 of file SPanel.cpp.

◆ OnScrollUpdatePart()

void SPanel::OnScrollUpdatePart ( BOOL bVert,
int iPart )
protected

Updates a part of the scrollbar.

Parameters
bVertTRUE for vertical scrollbar, FALSE for horizontal scrollbar.
iPartPart to update.

Definition at line 72 of file SPanel.cpp.

◆ OnScrollUpdateThumbTrack()

void SPanel::OnScrollUpdateThumbTrack ( BOOL bVert,
int nPos )
protected

Updates the thumb track of the scrollbar.

Parameters
bVertTRUE for vertical scrollbar, FALSE for horizontal scrollbar.
nPosNew position of the thumb.

Definition at line 114 of file SPanel.cpp.

◆ OnShowWindow()

void SPanel::OnShowWindow ( BOOL bShow,
UINT nStatus )
protected

Handles the WM_SHOWWINDOW message.

Parameters
bShowTRUE if the window is shown, FALSE if hidden.
nStatusStatus of the window.

Definition at line 589 of file SPanel.cpp.

◆ OnTimer()

void SPanel::OnTimer ( char cTimerID)
protected

Handles the WM_TIMER message.

Parameters
cTimerIDTimer identifier.

Definition at line 569 of file SPanel.cpp.

◆ OnVScroll()

void SPanel::OnVScroll ( UINT nSBCode,
UINT nPos,
HWND hwnd )
protected

Handles the WM_VSCROLL message.

Parameters
nSBCodeScroll code.
nPosPosition for the scroll.
hwndHandle to the window.

Definition at line 621 of file SPanel.cpp.

◆ ScrollUpdate()

void SPanel::ScrollUpdate ( )
protected

Updates the scrollbar.

Definition at line 579 of file SPanel.cpp.

◆ SetAttribute()

virtual HRESULT SPanel::SetAttribute ( const SNS::SStringW &amp;amp;amp;amp; strAttribName,
const SNS::SStringW &amp;amp;amp;amp; strValue,
BOOL bLoading = FALSE )
inlineprotectedvirtual

Reimplemented from SWindow.

Reimplemented in SRichEdit, and STileView.

Definition at line 314 of file SPanel.h.

◆ SetScrollInfo()

void SPanel::SetScrollInfo ( SCROLLINFO si,
BOOL bVertical )

Sets the scroll information for a scrollbar.

Parameters
siScroll information structure.
bVerticalTRUE for vertical scrollbar, FALSE for horizontal scrollbar.

Definition at line 226 of file SPanel.cpp.

◆ SetScrollPos()

BOOL SPanel::SetScrollPos ( BOOL bVertical,
int nNewPos,
BOOL bRedraw )

Sets the scroll position for a scrollbar.

Parameters
bVerticalTRUE for vertical scrollbar, FALSE for horizontal scrollbar.
nNewPosNew scroll position.
bRedrawTRUE to redraw the scrollbar, FALSE otherwise.
Returns
TRUE if successful, FALSE otherwise.

Definition at line 251 of file SPanel.cpp.

◆ SetScrollRange()

BOOL SPanel::SetScrollRange ( BOOL bVertical,
int nMinPos,
int nMaxPos,
BOOL bRedraw )

Sets the scroll range for a scrollbar.

Parameters
bVerticalTRUE for vertical scrollbar, FALSE for horizontal scrollbar.
nMinPosMinimum scroll position.
nMaxPosMaximum scroll position.
bRedrawTRUE to redraw the scrollbar, FALSE otherwise.
Returns
TRUE if successful, FALSE otherwise.

Definition at line 282 of file SPanel.cpp.

◆ ShowScrollBar()

BOOL SPanel::ShowScrollBar ( int wBar,
BOOL bShow )

Shows or hides a scrollbar.

Parameters
wBarScrollbar identifier (SB_HORZ or SB_VERT).
bShowTRUE to show the scrollbar, FALSE to hide it.
Returns
TRUE if successful, FALSE otherwise.

Definition at line 191 of file SPanel.cpp.

Member Data Documentation

◆ m_bySbThumbTrackMinAlpha

BYTE SPanel::m_bySbThumbTrackMinAlpha
protected

Definition at line 312 of file SPanel.h.

◆ m_dragSb

ScrollBarID SPanel::m_dragSb
protected

Definition at line 297 of file SPanel.h.

◆ m_dwUpdateInterval

DWORD SPanel::m_dwUpdateInterval
protected

Definition at line 305 of file SPanel.h.

◆ m_dwUpdateTime

DWORD SPanel::m_dwUpdateTime
protected

Definition at line 304 of file SPanel.h.

◆ m_fadeFrames

int SPanel::m_fadeFrames
protected

Definition at line 311 of file SPanel.h.

◆ m_fadeInterpolator

SAutoRefPtr<IInterpolator> SPanel::m_fadeInterpolator
mutableprotected

Definition at line 310 of file SPanel.h.

◆ m_hitSb

ScrollBarID SPanel::m_hitSb
protected

Definition at line 297 of file SPanel.h.

◆ m_nSbBottom

SLayoutSize SPanel::m_nSbBottom
protected

Definition at line 295 of file SPanel.h.

◆ m_nSbLeft

SLayoutSize SPanel::m_nSbLeft
protected

Definition at line 292 of file SPanel.h.

◆ m_nSbRight

SLayoutSize SPanel::m_nSbRight
protected

Definition at line 293 of file SPanel.h.

◆ m_nSbTop

SLayoutSize SPanel::m_nSbTop
protected

Definition at line 294 of file SPanel.h.

◆ m_nScrollSpeed

int SPanel::m_nScrollSpeed
protected

Definition at line 308 of file SPanel.h.

◆ m_pSkinSb

SAutoRefPtr<SSkinScrollbar> SPanel::m_pSkinSb
protected

Definition at line 283 of file SPanel.h.

◆ m_rcClient

CRect SPanel::m_rcClient
protected

Definition at line 290 of file SPanel.h.

◆ m_sbHorz

SScrollBarHandler SPanel::m_sbHorz
protected

Definition at line 302 of file SPanel.h.

◆ m_sbVert

SScrollBarHandler SPanel::m_sbVert
protected

Definition at line 301 of file SPanel.h.

◆ m_siHoz

SCROLLINFO SPanel::m_siHoz
protected

Definition at line 282 of file SPanel.h.

◆ m_siVer

SCROLLINFO SPanel::m_siVer
protected

Definition at line 282 of file SPanel.h.

◆ m_wBarEnable

UINT SPanel::m_wBarEnable
protected

Definition at line 300 of file SPanel.h.

◆ m_wBarVisible

UINT SPanel::m_wBarVisible
protected

Definition at line 299 of file SPanel.h.

◆ m_zDelta

short SPanel::m_zDelta
protected

Definition at line 307 of file SPanel.h.


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