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

📄 classwgui_1_1ccheckbox.html

📁 一个小巧的嵌入式图形系统wGUI, 可以用VC编译
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<p>CCheckBoxes handle MOUSE_BUTTONDOWN, MOUSE_BUTTONUP, and it's own CTRL_LCLICK messages <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>pMessage</em>&nbsp;</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__checkbox_8cpp-source.html#l00127">127</a> of file <a class="el" href="wg__checkbox_8cpp-source.html">wg_checkbox.cpp</a>.<p>References <a class="el" href="wg__message_8h-source.html#l00158">wGui::CMouseMessage::Button</a>, <a class="el" href="classwGui_1_1CCheckBox.html#s3s1">CHECKED</a>, <a class="el" href="wg__message_8h-source.html#l00081">wGui::CMessage::Destination()</a>, <a class="el" href="classwGui_1_1CCheckBox.html#s3s2">DISABLED</a>, <a class="el" href="wg__rect_8cpp-source.html#l00167">wGui::CRect::HitTest()</a>, <a class="el" href="wg__checkbox_8h-source.html#l00093">m_eCheckBoxState</a>, <a class="el" href="wg__checkbox_8h-source.html#l00094">m_MouseButton</a>, <a class="el" href="wg__window_8h-source.html#l00200">wGui::CWindow::m_pParentWindow</a>, <a class="el" href="wg__window_8h-source.html#l00191">wGui::CWindow::m_WindowRect</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__checkbox_8cpp-source.html#l00051">SetCheckBoxState()</a>, and <a class="el" href="classwGui_1_1CCheckBox.html#s3s0">UNCHECKED</a>.    </td>  </tr></table><a name="a5" doxytag="wGui::CCheckBox::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::CCheckBox::OnMouseButtonDown </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classwGui_1_1CPoint.html">CPoint</a>&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>Point</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>unsigned int&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>Button</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This is called whenever the checkbox 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>&nbsp;</td><td>The point where the mouse clicked </td></tr><tr><td valign=top><em>Button</em>&nbsp;</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 checkbox </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__checkbox_8cpp-source.html#l00084">84</a> of file <a class="el" href="wg__checkbox_8cpp-source.html">wg_checkbox.cpp</a>.<p>References <a class="el" href="classwGui_1_1CCheckBox.html#s3s2">DISABLED</a>, <a class="el" href="wg__rect_8cpp-source.html#l00167">wGui::CRect::HitTest()</a>, <a class="el" href="wg__window_8h-source.html#l00209">wGui::CWindow::m_bVisible</a>, <a class="el" href="wg__checkbox_8h-source.html#l00093">m_eCheckBoxState</a>, <a class="el" href="wg__checkbox_8h-source.html#l00094">m_MouseButton</a>, and <a class="el" href="wg__window_8h-source.html#l00191">wGui::CWindow::m_WindowRect</a>.    </td>  </tr></table><a name="a6" doxytag="wGui::CCheckBox::OnMouseButtonUp"></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::CCheckBox::OnMouseButtonUp </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classwGui_1_1CPoint.html">CPoint</a>&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>Point</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>unsigned int&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>Button</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This is called whenever the a mouse button is released in the checkbox 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>&nbsp;</td><td>The point where the mouse clicked </td></tr><tr><td valign=top><em>Button</em>&nbsp;</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 checkbox </dl><p>Reimplemented from <a class="el" href="classwGui_1_1CWindow.html#a26">wGui::CWindow</a>.<p>Definition at line <a class="el" href="wg__checkbox_8cpp-source.html#l00099">99</a> of file <a class="el" href="wg__checkbox_8cpp-source.html">wg_checkbox.cpp</a>.<p>References <a class="el" href="classwGui_1_1CCheckBox.html#s3s2">DISABLED</a>, <a class="el" href="wg__rect_8cpp-source.html#l00167">wGui::CRect::HitTest()</a>, <a class="el" href="wg__window_8h-source.html#l00209">wGui::CWindow::m_bVisible</a>, <a class="el" href="wg__checkbox_8h-source.html#l00093">m_eCheckBoxState</a>, <a class="el" href="wg__checkbox_8h-source.html#l00094">m_MouseButton</a>, and <a class="el" href="wg__window_8h-source.html#l00191">wGui::CWindow::m_WindowRect</a>.    </td>  </tr></table><a name="a3" doxytag="wGui::CCheckBox::SetCheckBoxState"></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::CCheckBox::SetCheckBoxState </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classwGui_1_1CCheckBox.html#s3">EState</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>eState</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Set the checkbox state <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>eState</em>&nbsp;</td><td>The checkbox state </td></tr></table></dl><p>Definition at line <a class="el" href="wg__checkbox_8cpp-source.html#l00051">51</a> of file <a class="el" href="wg__checkbox_8cpp-source.html">wg_checkbox.cpp</a>.<p>References <a class="el" href="wg__checkbox_8h-source.html#l00093">m_eCheckBoxState</a>, and <a class="el" href="wg__window_8cpp-source.html#l00213">wGui::CWindow::StartDrawProc()</a>.<p>Referenced by <a class="el" href="wg__checkbox_8cpp-source.html#l00127">HandleMessage()</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="wg__checkbox_8h-source.html">wg_checkbox.h</a><li><a class="el" href="wg__checkbox_8cpp-source.html">wg_checkbox.cpp</a></ul><hr><address style="align: right;"><small>Generated on Sat Oct 25 12:43:27 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 + -