1999-07-26 10:28:25 -04:00
|
|
|
\section{\class{wxScrollWinEvent}}\label{wxscrollwinevent}
|
|
|
|
|
|
|
|
A scroll event holds information about events sent from scrolling windows.
|
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxEvent}{wxevent}\\
|
|
|
|
\helpref{wxObject}{wxobject}
|
|
|
|
|
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<wx/event.h>
|
|
|
|
|
|
|
|
\wxheading{Event table macros}
|
|
|
|
|
1999-12-29 07:52:22 -05:00
|
|
|
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.
|
1999-07-26 10:28:25 -04:00
|
|
|
|
|
|
|
\twocolwidtha{7cm}
|
|
|
|
\begin{twocollist}\itemsep=0pt
|
|
|
|
\twocolitem{{\bf EVT\_SCROLLWIN(func)}}{Process all scroll events.}
|
2000-02-15 04:37:39 -05:00
|
|
|
\twocolitem{{\bf EVT\_SCROLLWIN\_TOP(func)}}{Process wxEVT\_SCROLLWIN\_TOP scroll-to-top events.}
|
|
|
|
\twocolitem{{\bf EVT\_SCROLLWIN\_BOTTOM(func)}}{Process wxEVT\_SCROLLWIN\_TOP scroll-to-bottom events.}
|
|
|
|
\twocolitem{{\bf EVT\_SCROLLWIN\_LINEUP(func)}}{Process wxEVT\_SCROLLWIN\_LINEUP line up events.}
|
|
|
|
\twocolitem{{\bf EVT\_SCROLLWIN\_LINEDOWN(func)}}{Process wxEVT\_SCROLLWIN\_LINEDOWN line down events.}
|
|
|
|
\twocolitem{{\bf EVT\_SCROLLWIN\_PAGEUP(func)}}{Process wxEVT\_SCROLLWIN\_PAGEUP page up events.}
|
|
|
|
\twocolitem{{\bf EVT\_SCROLLWIN\_PAGEDOWN(func)}}{Process wxEVT\_SCROLLWIN\_PAGEDOWN page down events.}
|
|
|
|
\twocolitem{{\bf EVT\_SCROLLWIN\_THUMBTRACK(func)}}{Process wxEVT\_SCROLLWIN\_THUMBTRACK thumbtrack events (frequent events
|
2002-06-07 16:15:28 -04:00
|
|
|
sent as the user drags the thumbtrack).}
|
2000-02-15 04:37:39 -05:00
|
|
|
\twocolitem{{\bf EVT\_SCROLLWIN\_THUMBRELEASE(func)}}{Process wxEVT\_SCROLLWIN\_THUMBRELEASE thumb release events.}
|
1999-07-26 10:28:25 -04:00
|
|
|
\end{twocollist}%
|
|
|
|
|
|
|
|
\wxheading{See also}
|
|
|
|
|
2002-04-08 12:46:27 -04:00
|
|
|
%\helpref{wxWindow::OnScroll}{wxwindowonscroll},
|
|
|
|
\helpref{wxScrollEvent}{wxscrollevent}, \helpref{Event handling overview}{eventhandlingoverview}
|
1999-07-26 10:28:25 -04:00
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
2004-09-23 11:41:43 -04:00
|
|
|
\membersection{wxScrollWinEvent::wxScrollWinEvent}\label{wxscrollwineventctor}
|
1999-07-26 10:28:25 -04:00
|
|
|
|
|
|
|
\func{}{wxScrollWinEvent}{\param{WXTYPE }{commandType = 0}, \param{int }{id = 0}, \param{int}{ pos = 0},
|
|
|
|
\rtfsp\param{int}{ orientation = 0}}
|
|
|
|
|
|
|
|
Constructor.
|
|
|
|
|
|
|
|
\membersection{wxScrollWinEvent::GetOrientation}\label{wxscrollwineventgetorientation}
|
|
|
|
|
|
|
|
\constfunc{int}{GetOrientation}{\void}
|
|
|
|
|
|
|
|
Returns wxHORIZONTAL or wxVERTICAL, depending on the orientation of the scrollbar.
|
|
|
|
|
|
|
|
\membersection{wxScrollWinEvent::GetPosition}\label{wxscrollwineventgetposition}
|
|
|
|
|
|
|
|
\constfunc{int}{GetPosition}{\void}
|
|
|
|
|
2001-01-16 08:29:10 -05:00
|
|
|
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.
|
|
|
|
|
1999-07-26 10:28:25 -04:00
|
|
|
|