X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..308978f6aa40cd791d9ba0cd437a404e68d30734:/docs/latex/wx/scrolevt.tex diff --git a/docs/latex/wx/scrolevt.tex b/docs/latex/wx/scrolevt.tex index 7ed9ea26de..f0870eaf54 100644 --- a/docs/latex/wx/scrolevt.tex +++ b/docs/latex/wx/scrolevt.tex @@ -1,6 +1,9 @@ \section{\class{wxScrollEvent}}\label{wxscrollevent} -A scroll event holds information about events sent from scrollbars and scrolling windows. +A scroll event holds information about events sent from stand-alone scrollbars, +spin-buttons and sliders - starting from wxWindows 2.1, scrolled windows send the +\helpref{wxScrollWinEvent}{wxscrollwinevent} which does not derive from +wxCommandEvent, but from wxEvent directly. \wxheading{Derived from} @@ -8,6 +11,10 @@ A scroll event holds information about events sent from scrollbars and scrolling \helpref{wxEvent}{wxevent}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{Event table macros} To process a scroll event, use these event handler macros to direct input to member @@ -26,6 +33,7 @@ without window IDs for intercepting scroll events from the receiving window. \twocolitem{{\bf EVT\_SCROLL\_PAGEDOWN(func)}}{Process wxEVT\_SCROLL\_PAGEDOWN page down events.} \twocolitem{{\bf EVT\_SCROLL\_THUMBTRACK(func)}}{Process wxEVT\_SCROLL\_THUMBTRACK thumbtrack events (frequent events sent as the user drags the thumtrack).} +\twocolitem{{\bf EVT\_SCROLL\_THUMBRELEASE(func)}}{Process wxEVT\_SCROLL\_THUMBRELEASE thumb release events.} \twocolitem{{\bf EVT\_COMMAND\_SCROLL(id, func)}}{Process all scroll events.} \twocolitem{{\bf EVT\_COMMAND\_SCROLL\_TOP(id, func)}}{Process wxEVT\_SCROLL\_TOP scroll-to-top events.} \twocolitem{{\bf EVT\_COMMAND\_SCROLL\_BOTTOM(id, func)}}{Process wxEVT\_SCROLL\_TOP scroll-to-bottom events.} @@ -45,7 +53,8 @@ horizontal and vertical scroll events are processed using the same event handler \wxheading{See also} -\helpref{wxWindow::OnScroll}{wxwindowonscroll}, \helpref{wxScrollBar}{wxscrollbar}, \helpref{Event handling overview}{eventhandlingoverview} +\helpref{wxScrollBar}{wxscrollbar}, \helpref{wxSlider}{wxslider}, \helpref{wxSpinButton}{wxspinbutton}, \\ +\helpref{wxScrollWinEvent}{wxscrollwinevent}, \helpref{Event handling overview}{eventhandlingoverview} \latexignore{\rtfignore{\wxheading{Members}}} @@ -68,4 +77,3 @@ Returns wxHORIZONTAL or wxVERTICAL, depending on the orientation of the scrollba Returns the position of the scrollbar. -