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

📄 classfg__edit.html

📁 《道法自然》书的源码FishGUI,一个跨平台的界面库
💻 HTML
📖 第 1 页 / 共 4 页
字号:
</map><hr><h2>成员函数文档</h2><a class="anchor" name="a1" doxytag="FG_Edit::CanGetFocus" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> bool FG_Edit::CanGetFocus </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">void&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [inline, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>返回控件能否得到焦点的标志 <p>编辑控件能得到焦点 <dl compact><dt><b>返回:</b></dt><dd>true 该控件能得到焦点 </dd></dl><p>重载<a class="el" href="classFG__Label.html#a1">FG_Label</a>。<p>在文件<a class="el" href="FG__Edit_8h-source.html">FG_Edit.h</a>第<a class="el" href="FG__Edit_8h-source.html#l00068">68</a>行定义。    </td>  </tr></table><a class="anchor" name="d1" doxytag="FG_Edit::DeleteChar" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void FG_Edit::DeleteChar </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [private]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>删除当前光标后的一个字符. <p><p>在文件<a class="el" href="FG__Edit_8cpp-source.html">FG_Edit.cpp</a>第<a class="el" href="FG__Edit_8cpp-source.html#l00191">191</a>行定义。<p>参考 <a class="el" href="FG__String_8h-source.html#l00082">FG_String::DataGet()</a>、<a class="el" href="FG__String_8cpp-source.html#l00086">FG_String::DataSet()</a>、<a class="el" href="FG__Edit_8cpp-source.html#l00214">DrawWithCursor()</a>、<a class="el" href="FG__TextWidget_8h-source.html#l00069">FG_TextWidget::GetText()</a>、<a class="el" href="FG__Edit_8h-source.html#l00109">m_wCursorPos</a>、<a class="el" href="FG__Common_8h-source.html#l00046">NULL</a>、<a class="el" href="FG__TextWidget_8h-source.html#l00084">FG_TextWidget::TextLength()</a>及<a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>.<p>参考自 <a class="el" href="FG__Edit_8cpp-source.html#l00108">OnKeyDown()</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Edit_d1_cgraph.png" border="0" usemap="#classFG__Edit_d1_cgraph_map" alt=""></center><map name="classFG__Edit_d1_cgraph_map"><area href="classFG__String.html#a4" shape="rect" coords="432,57,554,84" alt=""><area href="classFG__String.html#a3" shape="rect" coords="220,57,342,84" alt=""><area href="classFG__Edit.html#d2" shape="rect" coords="202,158,360,185" alt=""><area href="classFG__TextWidget.html#a1" shape="rect" coords="206,108,356,134" alt=""><area href="classFG__TextWidget.html#a3" shape="rect" coords="197,209,365,236" alt=""><area href="classFG__Object.html#b4" shape="rect" coords="414,158,572,185" alt=""><area href="classFG__Object.html#a20" shape="rect" coords="621,158,752,185" alt=""><area href="classFG__String.html#a5" shape="rect" coords="436,209,550,236" alt=""></map><a class="anchor" name="d2" doxytag="FG_Edit::DrawWithCursor" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void FG_Edit::DrawWithCursor </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [private]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>重画文本(包括光标). <p>把光标设置为显示,然后要求重画<p>在文件<a class="el" href="FG__Edit_8cpp-source.html">FG_Edit.cpp</a>第<a class="el" href="FG__Edit_8cpp-source.html#l00214">214</a>行定义。<p>参考 <a class="el" href="FG__Edit_8h-source.html#l00111">m_bDrawCursor</a>及<a class="el" href="FG__Object_8cpp-source.html#l00239">FG_Object::RequestDraw()</a>.<p>参考自 <a class="el" href="FG__Edit_8cpp-source.html#l00191">DeleteChar()</a>、<a class="el" href="FG__Edit_8cpp-source.html#l00174">InsertChar()</a>及<a class="el" href="FG__Edit_8cpp-source.html#l00108">OnKeyDown()</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Edit_d2_cgraph.png" border="0" usemap="#classFG__Edit_d2_cgraph_map" alt=""></center><map name="classFG__Edit_d2_cgraph_map"><area href="classFG__Object.html#b4" shape="rect" coords="225,57,383,84" alt=""><area href="classFG__Object.html#a20" shape="rect" coords="432,57,563,84" alt=""><area href="group__OSAdaptor.html#ga1" shape="rect" coords="663,7,761,33" alt=""><area href="structFG__MSGMAP.html#a0" shape="rect" coords="612,57,812,84" alt=""><area href="classFG__Object.html#b5" shape="rect" coords="623,108,801,135" alt=""></map><a class="anchor" name="b5" doxytag="FG_Edit::GetMessageMap" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> const <a class="el" href="structFG__MSGMAP.html">FG_MSGMAP</a> * FG_Edit::GetMessageMap </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [protected, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>得到本类的消息映射表指针 <p>虚函数,派生类覆盖该函数,来返回自己的消息映射表指针,通过宏<a class="el" href="group__MsgMap__Define.html#ga1">BEGIN_MESSAGE_MAP</a>生成 <dl compact><dt><b>返回:</b></dt><dd>本类的消息映射表指针 </dd></dl><p>重载<a class="el" href="classFG__Label.html#b1">FG_Label</a>。<p>在文件<a class="el" href="FG__Edit_8cpp-source.html">FG_Edit.cpp</a>第<a class="el" href="FG__Edit_8cpp-source.html#l00051">51</a>行定义。    </td>  </tr></table><a class="anchor" name="d0" doxytag="FG_Edit::InsertChar" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void FG_Edit::InsertChar </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="group__Utility.html#ga1">WORD</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>wKey</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [private]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>在编辑控件的当前光标位置插入一个字符. <p><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>wKey</em>&nbsp;</td><td>要插入的字符的<a class="el" href="group__Virtual__Key.html">虚拟键码</a> </td></tr>  </table></dl><p>在文件<a class="el" href="FG__Edit_8cpp-source.html">FG_Edit.cpp</a>第<a class="el" href="FG__Edit_8cpp-source.html#l00174">174</a>行定义。<p>参考 <a class="el" href="FG__Edit_8cpp-source.html#l00214">DrawWithCursor()</a>、<a class="el" href="FG__TextWidget_8h-source.html#l00069">FG_TextWidget::GetText()</a>、<a class="el" href="FG__Edit_8h-source.html#l00109">m_wCursorPos</a>、<a class="el" href="FG__TextWidget_8h-source.html#l00077">FG_TextWidget::SetText()</a>、<a class="el" href="FG__TextWidget_8h-source.html#l00084">FG_TextWidget::TextLength()</a>及<a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>.<p>参考自 <a class="el" href="FG__Edit_8cpp-source.html#l00108">OnKeyDown()</a>.    </td>  </tr></table><p>

⌨️ 快捷键说明

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