CScrollEvent Class

class CScrollEvent: public CWinEventBase

Defined in: ScrollEvent.h

Class Members

inline  CScrollEvent(const UINT nMessageID, const WPARAM wParam = 0, const LPARAM lParam = 0L)

Construct a scroll event from a message ID, WPARAM, and LPARAM.

inline virtual bool  Dispatch(IQueryGuid* pIListener)

Dispatches the event to the given event listener.

inline virtual int  GetScrollCode()

The scroll code identifies the type of scrolling (line, page, etc.).

inline virtual short  GetScrollPosition()

Return the scroll position.

inline virtual HWND GetScrollBarHandle()

Return the scroll bar window handle.