]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/scrlwevt.tex
added new wxHF_ flags
[wxWidgets.git] / docs / latex / wx / scrlwevt.tex
1 \section{\class{wxScrollWinEvent}}\label{wxscrollwinevent}
2
3 A scroll event holds information about events sent from scrolling windows.
4
5 \wxheading{Derived from}
6
7 \helpref{wxEvent}{wxevent}\\
8 \helpref{wxObject}{wxobject}
9
10 \wxheading{Include files}
11
12 <wx/event.h>
13
14 \wxheading{Event table macros}
15
16 To process a scroll window event, use these event handler macros to direct input to member
17 functions that take a wxScrollWinEvent argument. You can use the EVT\_SCROLLWIN... macros
18 for intercepting scroll window events from the receiving window.
19
20 \twocolwidtha{7cm}
21 \begin{twocollist}\itemsep=0pt
22 \twocolitem{{\bf EVT\_SCROLLWIN(func)}}{Process all scroll events.}
23 \twocolitem{{\bf EVT\_SCROLLWIN\_TOP(func)}}{Process wxEVT\_SCROLL\_TOP scroll-to-top events.}
24 \twocolitem{{\bf EVT\_SCROLLWIN\_BOTTOM(func)}}{Process wxEVT\_SCROLL\_TOP scroll-to-bottom events.}
25 \twocolitem{{\bf EVT\_SCROLLWIN\_LINEUP(func)}}{Process wxEVT\_SCROLL\_LINEUP line up events.}
26 \twocolitem{{\bf EVT\_SCROLLWIN\_LINEDOWN(func)}}{Process wxEVT\_SCROLL\_LINEDOWN line down events.}
27 \twocolitem{{\bf EVT\_SCROLLWIN\_PAGEUP(func)}}{Process wxEVT\_SCROLL\_PAGEUP page up events.}
28 \twocolitem{{\bf EVT\_SCROLLWIN\_PAGEDOWN(func)}}{Process wxEVT\_SCROLL\_PAGEDOWN page down events.}
29 \twocolitem{{\bf EVT\_SCROLLWIN\_THUMBTRACK(func)}}{Process wxEVT\_SCROLL\_THUMBTRACK thumbtrack events (frequent events
30 sent as the user drags the thumtrack).}
31 \end{twocollist}%
32
33 \wxheading{See also}
34
35 \helpref{wxWindow::OnScroll}{wxwindowonscroll}, \helpref{wxScrollEvent}{wxscrollevent}, \helpref{Event handling overview}{eventhandlingoverview}
36
37 \latexignore{\rtfignore{\wxheading{Members}}}
38
39 \membersection{wxScrollWinEvent::wxScrollWinEvent}
40
41 \func{}{wxScrollWinEvent}{\param{WXTYPE }{commandType = 0}, \param{int }{id = 0}, \param{int}{ pos = 0},
42 \rtfsp\param{int}{ orientation = 0}}
43
44 Constructor.
45
46 \membersection{wxScrollWinEvent::GetOrientation}\label{wxscrollwineventgetorientation}
47
48 \constfunc{int}{GetOrientation}{\void}
49
50 Returns wxHORIZONTAL or wxVERTICAL, depending on the orientation of the scrollbar.
51
52 \membersection{wxScrollWinEvent::GetPosition}\label{wxscrollwineventgetposition}
53
54 \constfunc{int}{GetPosition}{\void}
55
56 Returns the position of the scrollbar.
57