Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Properties

m_bBufferedPainting If set to true, it indicates that the flicker-free painting of the window contents should be used. By default, it is set to false.
m_bDisplayPopOverScrollBars If set to true, it indicates that the pop-over scroll bars should be displayed instead of classic ones. By default, it is set to false.
m_bEatErasing If set to true, it indicates that the WM_ERASEBKGND Windows message should be handled and default background erasing should be prevented. By default, it is set to false.
m_bHideNormalScrollBars If set to true, it indicates that the classic (not pop-over) scroll bars should be force always hidden independently from any conditions. By default, it is set to false.
m_bLightPopOverScrollBars If set to true, it indicates that the light version of pop-over scroll bars with thumb buttons only should be displayed. By default, it is set to false.
m_bPopOverScrollBarsTracking If set to true, it indicates that the pop-over scroll bar part is pressed by user and scrolling position changing is performed. By default, it is set to false.
m_bPopOverScrollBarsVisible If set to true, it indicates that the pop-over scroll bars are currently visible on the screen. By default, it is set to false.
m_bRedrawErase If set to true, it indicates that the CExtScrollWnd::OnSwDoRedraw() virtual method should invalidate modified areas of the scrollable window by sending the WM_ERASEBKGND message. By default, it is set to false.
m_bRedrawInvalidate If set to true, it indicates that the CExtScrollWnd::OnSwDoRedraw() virtual method should invalidate modified areas of the scrollable window. By default, it is set to false.
m_bRedrawUpdateWindow If set to true, it indicates that the CExtScrollWnd::OnSwDoRedraw() virtual method should not return the execution control until all the modified areas of the scrollable windows are completely repainted. By default, it is set to false.
m_bScrollErase If set to true, it indicates that window area should be erased when a horizontal/vertical scrolling position changed. By default, it is set to false.
m_bScrollInvalidate If set to true, it indicates that window area should be invalidated when a horizontal/vertical scrolling position changed. By default, it is set to false.
m_bScrollPhysical If set to true, it indicates that the CWnd::ScrollWindow() method should be used to shift part of the window content when scrolling. By default, it is set to false.
m_bScrollUpdateWindow If set to true, it indicates that window area should be immediately updated after a horizontal/vertical scrolling position changed. By default, it is set to false.
m_bUse32BitScrollInfo If set to true, it indicates that the 32-bit scrolling ranges should be used. By default, it is set to true.
m_nPopOverScrollBarTimerEllapse �Specifies period of a timer which is used to hide pop-over scroll bars. Negative value means do not hide pop-over scroll bars. By default value is 2000.
m_nPopOverScrollBarTimerID Specifies identifier of a timer which is used to hide pop-over scroll bars.

Classes

CExtScrollWnd Constructor.

Overridables

OnSwCalcClientSizes Calculates the size of the scrollable client area, the width of the visible vertical scrollbar, and the height of the visible horizontal scroll bar in pixels. Returns true if there is enough room to display scrollbars.
OnSwCalcMouseScrollLines Returns a value which should be added to or subtracted from the current scrolling position during the mouse wheel event handling.
OnSwCalcPopOverRect Returns a rectangle value which is used for docking pop-over scroll bars.
OnSwCalcPopOverScrollBarRects Returns a value which should be added to or subtracted from the current scrolling position during the mouse wheel event handling.
OnSwCanAutoHideScrollBar Returns a boolean value specifying whether the scroll bar should be hidden when the size of the scrollable contents is less than or equal to the size of the currently displayed page.
OnSwDoMouseWheel This method is called to change the current scrolling position according to the mouse wheel event parameters. Returns true if the scrolling position has been changed.
OnSwDoRedraw Redraws modified parts of the scrollable window.
OnSwDoScroll Performs the scrollbar event handling.
OnSwDoScrollBy Called from within the OnSwDoScroll() method to perform window scrolling. The OnSwDoScroll() calculates the scrolling position change and lets OnSwDoScrollBy() to perform the real window scrolling and repainting.
OnSwDoScrollWindow Scrolls the contents of the client area.
OnSwEnableScrollBarCtrl Enables/disables the scroll bars.
OnSwEnsurePointAvail Ensures visibility of part of the scrollable contents with the specified scrolling positions.
OnSwGetClientRect Returns a rectangle, in client coordinates, for displaying the scrollable contents.
OnSwGetLineSize Returns a horizontal/vertical scrolling line size which is used to scroll the window by lines.
OnSwGetPageSize Returns a horizontal/vertical scrolling page size for scrolling the window by pages.
OnSwGetPopOverScrollBarStepSize Returns a horizontal/vertical scrolling size for scrolling the window by lines using pop-over scroll bars.
OnSwGetScrollBarSizes Returns the width of the visible vertical scroll bar window and the height of the visible horizontal scroll bar window in pixels. Returns zero values in CSize if the scroll bar window is not visible, or non-client scroll bar areas are used.
OnSwGetScrollBarState Calculates new state of the scrollbars.
OnSwGetScrollPaintPos Returns the horizontal and vertical scrolling positions that are used as the view-port origin of the painting device context.
OnSwGetScrollPos Returns the current horizontal and vertical scrolling positions.
OnSwGetTotalSize Returns the size of the scrollable contents.
OnSwHasScrollBar Returns true if the scroll bar is visible and enabled.
OnSwInvalidate Invalidates and erases modified parts of the scrollable window.
OnSwPaint Paints the scrollable contents.
OnSwPaintAreaBetweenScrollBarWindows Paints the corner area between horizontal and vertical scroll bars.
OnSwPaintPopOverItems Paints the controls displayed over scrollable content.
OnSwPaintPopOverScrollBars Paints the pop-over scroll bars.
OnSwPopOverScrollBarHitTest Performs hit testing of pop-over scroll bars. Returns flag indicating whether the mouse pointer is over any part of pop-over scroll bars.
OnSwQueryThumbTrackEnabled Returns a boolean value that specifies that tracking of the scroll box immediately changes the scrolling position and redraws the window contents if it is equal to true.
OnSwRecalcLayout Calculates the layout of inner parts of the window and returns a rectangle, in client coordinates, which should be used for displaying the scrollable contents. This method is based on the MFC's CWnd::RepositionBars() method.
OnSwScrollInfoAdjust Modifies the scrolling parameters of the scrollable window.
OnSwSetPopOverScrollBarCursor Invoked to set cursor when the mouse pointer is over part of pop-over scroll bar.
OnSwSetScrollPos Changes the horizontal and vertical scrolling positions.
OnSwSetScrollRange Modifies the scrolling range.
OnSwUpdateScrollBars Recalculates the scroll bar state including its visibility, current page size and scroll button (thumb) position.
OnSwUpdateWindow Updates a scrollable window by processing all the painting messages in the message queue. By overriding this method you can implement custom painting techniques in a particular scrollable control.
ScrollInfo32Get Returns the scrolling information for the horizontal or vertical scrollbar.
ScrollLimit32Get Returns the horizontal or vertical scrolling limit value.
ScrollPos32Get Return either the current horizontal/vertical scrolling position or the tracking position of the scroll box.
ScrollPos32Set Changes the current scrolling position.

See Also

CExtScrollWnd Overview | Hierarchy Chart