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.
|