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

📄 classwgui_1_1ceditbox.html

📁 一个小巧的嵌入式图形系统wGUI, 可以用VC编译
💻 HTML
📖 第 1 页 / 共 2 页
字号:
        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This is called whenever the editbox 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 editbox </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__editbox_8cpp-source.html#l00231">231</a> of file <a class="el" href="wg__editbox_8cpp-source.html">wg_editbox.cpp</a>.<p>References <a class="el" href="wg__rect_8cpp-source.html#l00090">wGui::CRect::Grow()</a>, <a class="el" href="wg__rect_8cpp-source.html#l00167">wGui::CRect::HitTest()</a>, <a class="el" href="wg__rect_8h-source.html#l00085">wGui::CRect::Left()</a>, <a class="el" href="wg__editbox_8h-source.html#l00109">m_bMouseDown</a>, <a class="el" href="wg__editbox_8h-source.html#l00108">m_bReadOnly</a>, <a class="el" href="wg__window_8h-source.html#l00209">wGui::CWindow::m_bVisible</a>, <a class="el" href="wg__editbox_8h-source.html#l00106">m_DragStart</a>, <a class="el" href="wg__editbox_8h-source.html#l00102">m_pRenderedString</a>, <a class="el" href="wg__editbox_8h-source.html#l00107">m_ScrollOffset</a>, <a class="el" href="wg__editbox_8h-source.html#l00105">m_SelLength</a>, <a class="el" href="wg__editbox_8h-source.html#l00104">m_SelStart</a>, <a class="el" href="wg__window_8h-source.html#l00191">wGui::CWindow::m_WindowRect</a>, <a class="el" href="wg__window_8cpp-source.html#l00213">wGui::CWindow::StartDrawProc()</a>, and <a class="el" href="wg__point_8h-source.html#l00064">wGui::CPoint::XPos()</a>.    </td>  </tr></table><a name="b0" doxytag="wGui::CEditBox::SelDelete"></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::CEditBox::SelDelete </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">std::string *&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>psString</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Deletes the selected portion of the string <p>Definition at line <a class="el" href="wg__editbox_8cpp-source.html#l00552">552</a> of file <a class="el" href="wg__editbox_8cpp-source.html">wg_editbox.cpp</a>.<p>References <a class="el" href="wg__editbox_8h-source.html#l00105">m_SelLength</a>, and <a class="el" href="wg__editbox_8h-source.html#l00104">m_SelStart</a>.<p>Referenced by <a class="el" href="wg__editbox_8cpp-source.html#l00271">HandleMessage()</a>.    </td>  </tr></table><a name="a4" doxytag="wGui::CEditBox::SetReadOnly"></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::CEditBox::SetReadOnly </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">bool&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>bReadOnly</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 Read-only state of the control <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>bReadOnly</em>&nbsp;</td><td>If set to true, the control will not take any keyboard input </td></tr></table></dl><p>Definition at line <a class="el" href="wg__editbox_8cpp-source.html#l00067">67</a> of file <a class="el" href="wg__editbox_8cpp-source.html">wg_editbox.cpp</a>.<p>References <a class="el" href="wg__window_8h-source.html#l00194">wGui::CWindow::m_BGColor</a>, <a class="el" href="wg__editbox_8h-source.html#l00108">m_bReadOnly</a>, and <a class="el" href="wg__window_8cpp-source.html#l00213">wGui::CWindow::StartDrawProc()</a>.<p>Referenced by <a class="el" href="wg__dropdown_8cpp-source.html#l00034">wGui::CDropDown::CDropDown()</a>.    </td>  </tr></table><a name="a2" doxytag="wGui::CEditBox::SetUsePasswordMask"></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::CEditBox::SetUsePasswordMask </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">bool&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>bUseMask</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Set the Password mask state of the control <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>bUseMask</em>&nbsp;</td><td>If set to true, the control will act as a password mask box </td></tr></table></dl><p>Definition at line <a class="el" href="wg__editbox_8h-source.html#l00057">57</a> of file <a class="el" href="wg__editbox_8h-source.html">wg_editbox.h</a>.<p>References <a class="el" href="wg__editbox_8h-source.html#l00110">m_bUseMask</a>.    </td>  </tr></table><a name="a8" doxytag="wGui::CEditBox::SetWindowText"></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::CEditBox::SetWindowText </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>sText</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Set the WindowText of the control <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>sText</em>&nbsp;</td><td>The text to assign to the window </td></tr></table></dl><p>Reimplemented from <a class="el" href="classwGui_1_1CWindow.html#a15">wGui::CWindow</a>.<p>Definition at line <a class="el" href="wg__editbox_8cpp-source.html#l00219">219</a> of file <a class="el" href="wg__editbox_8cpp-source.html">wg_editbox.cpp</a>.<p>References <a class="el" href="wg__editbox_8h-source.html#l00101">m_pFontEngine</a>, <a class="el" href="wg__editbox_8h-source.html#l00102">m_pRenderedString</a>, <a class="el" href="wg__editbox_8h-source.html#l00105">m_SelLength</a>, <a class="el" href="wg__editbox_8h-source.html#l00104">m_SelStart</a>, and <a class="el" href="wg__window_8cpp-source.html#l00213">wGui::CWindow::StartDrawProc()</a>.<p>Referenced by <a class="el" href="wg__dropdown_8cpp-source.html#l00070">wGui::CDropDown::SetWindowText()</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="wg__editbox_8h-source.html">wg_editbox.h</a><li><a class="el" href="wg__editbox_8cpp-source.html">wg_editbox.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 + -