wxScrollWinEventA scroll event holds information about events sent from scrolling windows. Derived from Include files <wx/event.h> Event table macros To process a scroll window event, use these event handler macros to direct input to member functions that take a wxScrollWinEvent argument. You can use the EVT_SCROLLWIN... macros for intercepting scroll window events from the receiving window.
wxScrollEvent, Event handling overview Members
wxScrollWinEvent::wxScrollWinEvent
wxScrollWinEvent::wxScrollWinEventwxScrollWinEvent(WXTYPE commandType = 0, int pos = 0, int orientation = 0) Constructor.
wxScrollWinEvent::GetOrientationint GetOrientation() const Returns wxHORIZONTAL or wxVERTICAL, depending on the orientation of the scrollbar.
wxScrollWinEvent::GetPositionint GetPosition() const Returns the position of the scrollbar for the thumb track and release events. Note that this field can't be used for the other events, you need to query the window itself for the current position in that case.
|