⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scrolevt.tex

📁 很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.
💻 TEX
字号:
\section{\class{wxScrollEvent}}\label{wxscrollevent}A scroll event holds information about events sent from stand-alone\helpref{scrollbars}{wxscrollbar} and \helpref{sliders}{wxslider}. Note thatstarting from wxWidgets 2.1, scrolled windows send the \helpref{wxScrollWinEvent}{wxscrollwinevent} which does not derive fromwxCommandEvent, but from wxEvent directly - don't confuse these two kinds ofevents and use the event table macros mentioned below only for thescrollbar-like controls.\wxheading{Derived from}\helpref{wxCommandEvent}{wxcommandevent}\\\helpref{wxEvent}{wxevent}\\\helpref{wxObject}{wxobject}\wxheading{Include files}<wx/event.h>\input scrolevt.inc\wxheading{Remarks}Note that unless specifying a scroll control identifier, you will need to test for scrollbarorientation with \helpref{wxScrollEvent::GetOrientation}{wxscrolleventgetorientation}, sincehorizontal and vertical scroll events are processed using the same event handler.\wxheading{See also}\helpref{wxScrollBar}{wxscrollbar}, \helpref{wxSlider}{wxslider}, \helpref{wxSpinButton}{wxspinbutton}, \\\helpref{wxScrollWinEvent}{wxscrollwinevent}, \helpref{Event handling overview}{eventhandlingoverview}\latexignore{\rtfignore{\wxheading{Members}}}\membersection{wxScrollEvent::wxScrollEvent}\label{wxscrolleventctor}\func{}{wxScrollEvent}{\param{WXTYPE }{commandType = 0}, \param{int }{id = 0}, \param{int}{ pos = 0},\rtfsp\param{int}{ orientation = 0}}Constructor.\membersection{wxScrollEvent::GetOrientation}\label{wxscrolleventgetorientation}\constfunc{int}{GetOrientation}{\void}Returns wxHORIZONTAL or wxVERTICAL, depending on the orientation of the scrollbar.\membersection{wxScrollEvent::GetPosition}\label{wxscrolleventgetposition}\constfunc{int}{GetPosition}{\void}Returns the position of the scrollbar.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -