📄 classwgui_1_1cscrollbar.html
字号:
</tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>CScrollBars handle MOUSE_BUTTONDOWN and MOUSE_BUTTONUP messages <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>pMessage</em> </td><td>A pointer to the message </td></tr></table></dl><p>Reimplemented from <a class="el" href="classwGui_1_1CWindow.html#a27">wGui::CWindow</a>.<p>Definition at line <a class="el" href="wg__scrollbar_8cpp-source.html#l00202">202</a> of file <a class="el" href="wg__scrollbar_8cpp-source.html">wg_scrollbar.cpp</a>.<p>References <a class="el" href="wg__message_8h-source.html#l00158">wGui::CMouseMessage::Button</a>, <a class="el" href="wg__message_8h-source.html#l00081">wGui::CMessage::Destination()</a>, <a class="el" href="wg__window_8cpp-source.html#l00096">wGui::CWindow::GetClientRect()</a>, <a class="el" href="wg__rect_8h-source.html#l00130">wGui::CRect::Height()</a>, <a class="el" href="classwGui_1_1CScrollBar.html#s2s1">HORIZONTAL</a>, <a class="el" href="wg__rect_8h-source.html#l00085">wGui::CRect::Left()</a>, <a class="el" href="wg__window_8h-source.html#l00200">wGui::CWindow::m_pParentWindow</a>, <a class="el" href="wg__message_8h-source.html#l00078">wGui::CMessage::MessageType()</a>, <a class="el" href="wg__message_8h-source.html#l00156">wGui::CMouseMessage::Point</a>, <a class="el" href="wg__scrollbar_8cpp-source.html#l00093">SetPosition()</a>, <a class="el" href="wg__message_8h-source.html#l00084">wGui::CMessage::Source()</a>, <a class="el" href="wg__rect_8h-source.html#l00082">wGui::CRect::Top()</a>, <a class="el" href="classwGui_1_1CScrollBar.html#s2s0">VERTICAL</a>, <a class="el" href="wg__rect_8h-source.html#l00127">wGui::CRect::Width()</a>, <a class="el" href="wg__point_8h-source.html#l00064">wGui::CPoint::XPos()</a>, and <a class="el" href="wg__point_8h-source.html#l00067">wGui::CPoint::YPos()</a>. </td> </tr></table><a name="a9" doxytag="wGui::CScrollBar::MoveWindow"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void wGui::CScrollBar::MoveWindow </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classwGui_1_1CPoint.html">CPoint</a> & </td> <td class="mdname1" valign="top" nowrap> <em>MoveDistance</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Move the window and any child windows <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>MoveDistance</em> </td><td>The relative distance to move the window </td></tr></table></dl><p>Reimplemented from <a class="el" href="classwGui_1_1CWindow.html#a4">wGui::CWindow</a>.<p>Definition at line <a class="el" href="wg__scrollbar_8cpp-source.html#l00180">180</a> of file <a class="el" href="wg__scrollbar_8cpp-source.html">wg_scrollbar.cpp</a>. </td> </tr></table><a name="a10" doxytag="wGui::CScrollBar::OnMouseButtonDown"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool wGui::CScrollBar::OnMouseButtonDown </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classwGui_1_1CPoint.html">CPoint</a> </td> <td class="mdname" nowrap> <em>Point</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned int </td> <td class="mdname" nowrap> <em>Button</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>This is called whenever the scrollbar is clicked on by the mouse Only the topmost window that bounds the point will be called by the system <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>Point</em> </td><td>The point where the mouse clicked </td></tr><tr><td valign=top><em>Button</em> </td><td>A bitfield indicating which button the window was clicked with </td></tr></table></dl><dl compact><dt><b>Returns: </b></dt><dd>True if it's in the bounds of the scrollbar </dl><p>Reimplemented from <a class="el" href="classwGui_1_1CWindow.html#a25">wGui::CWindow</a>.<p>Definition at line <a class="el" href="wg__scrollbar_8cpp-source.html#l00187">187</a> of file <a class="el" href="wg__scrollbar_8cpp-source.html">wg_scrollbar.cpp</a>.<p>References <a class="el" href="wg__rect_8cpp-source.html#l00167">wGui::CRect::HitTest()</a>, and <a class="el" href="wg__window_8h-source.html#l00209">wGui::CWindow::m_bVisible</a>. </td> </tr></table><a name="a8" doxytag="wGui::CScrollBar::SetWindowRect"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void wGui::CScrollBar::SetWindowRect </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classwGui_1_1CRect.html">CRect</a> & </td> <td class="mdname1" valign="top" nowrap> <em>WindowRect</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Giving a control a new WindowRect will move and resize the control <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>WindowRect</em> </td><td>A <a class="el" href="classwGui_1_1CRect.html">CRect</a> that defines the outer limits of the control </td></tr></table></dl><p>Reimplemented from <a class="el" href="classwGui_1_1CWindow.html#a2">wGui::CWindow</a>.<p>Definition at line <a class="el" href="wg__scrollbar_8cpp-source.html#l00142">142</a> of file <a class="el" href="wg__scrollbar_8cpp-source.html">wg_scrollbar.cpp</a>.<p>References <a class="el" href="wg__rect_8h-source.html#l00091">wGui::CRect::Bottom()</a>, <a class="el" href="wg__rect_8h-source.html#l00103">wGui::CRect::BottomRight()</a>, <a class="el" href="wg__window_8h-source.html#l00062">wGui::CWindow::GetWindowRect()</a>, <a class="el" href="wg__rect_8h-source.html#l00130">wGui::CRect::Height()</a>, <a class="el" href="classwGui_1_1CScrollBar.html#s2s1">HORIZONTAL</a>, <a class="el" href="wg__rect_8h-source.html#l00085">wGui::CRect::Left()</a>, <a class="el" href="wg__window_8h-source.html#l00197">wGui::CWindow::m_ClientRect</a>, <a class="el" href="wg__window_8h-source.html#l00191">wGui::CWindow::m_WindowRect</a>, <a class="el" href="wg__rect_8h-source.html#l00088">wGui::CRect::Right()</a>, <a class="el" href="wg__rect_8h-source.html#l00079">wGui::CRect::SetBottom()</a>, <a class="el" href="wg__rect_8h-source.html#l00071">wGui::CRect::SetLeft()</a>, <a class="el" href="wg__scrollbar_8cpp-source.html#l00093">SetPosition()</a>, <a class="el" href="wg__rect_8h-source.html#l00075">wGui::CRect::SetRight()</a>, <a class="el" href="wg__rect_8h-source.html#l00067">wGui::CRect::SetTop()</a>, <a class="el" href="wg__window_8cpp-source.html#l00077">wGui::CWindow::SetWindowRect()</a>, <a class="el" href="wg__rect_8h-source.html#l00082">wGui::CRect::Top()</a>, <a class="el" href="wg__rect_8h-source.html#l00094">wGui::CRect::TopLeft()</a>, <a class="el" href="classwGui_1_1CScrollBar.html#s2s0">VERTICAL</a>, and <a class="el" href="wg__rect_8h-source.html#l00127">wGui::CRect::Width()</a>.<p>Referenced by <a class="el" href="wg__listbox_8cpp-source.html#l00149">wGui::CListBox::SetWindowRect()</a>. </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="wg__scrollbar_8h-source.html">wg_scrollbar.h</a><li><a class="el" href="wg__scrollbar_8cpp-source.html">wg_scrollbar.cpp</a></ul><hr><address style="align: right;"><small>Generated on Sat Oct 25 12:43:28 2003 for wGui by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -