CGXScrollTip::HandleScrollMessage

BOOL HandleScrollMessage(CWnd* pParent, UINT nSBCode, int nBar, LPCTSTR pszText, CScrollBar* pBar);

pParent

Pointer to parent window which holds the CGXScrollTip object.

nSBCode

Specifies a scroll-bar code that indicates the user’s scrolling request. Simply pass the value from your OnVScroll or OnHScroll override.

nBar

SB_VERT for WM_VSCROLL messages; SB_HORZ for the WM_HSCROLL messages.

pszText

Lets you specify the text to be displayed in the scroll tip window.

pBar

Pointer to the scrollbar control (or NULL) .Simply pass the value from your OnVScroll or OnHScroll override.

Remarks

Call this method from your WM_HSCROLL and WM_VSCROLL message handlers.

See the class description for more information.

CGXScrollTip

 Class Overview |  Class Members