📄 classfg__edit.html
字号:
<p>参考 <a class="el" href="FG__Edit_8cpp-source.html#l00191">DeleteChar()</a>、<a class="el" href="FG__Edit_8cpp-source.html#l00214">DrawWithCursor()</a>、<a class="el" href="FG__Message_8h-source.html#l00087">FVK_0</a>、<a class="el" href="FG__Message_8h-source.html#l00096">FVK_9</a>、<a class="el" href="FG__Message_8h-source.html#l00102">FVK_DELETE</a>、<a class="el" href="FG__Message_8h-source.html#l00103">FVK_LEFT</a>、<a class="el" href="FG__Message_8h-source.html#l00104">FVK_RIGHT</a>、<a class="el" href="FG__Edit_8cpp-source.html#l00174">InsertChar()</a>、<a class="el" href="FG__Message_8h-source.html#l00200">FG_Message::lData</a>、<a class="el" href="FG__Edit_8h-source.html#l00109">m_wCursorPos</a>、<a class="el" href="FG__Edit_8h-source.html#l00107">m_wLimit</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>. </td> </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Edit_b1_cgraph.png" border="0" usemap="#classFG__Edit_b1_cgraph_map" alt=""></center><map name="classFG__Edit_b1_cgraph_map"><area href="classFG__Edit.html#d1" shape="rect" coords="203,108,331,135" alt=""><area href="classFG__Edit.html#d2" shape="rect" coords="387,209,544,236" alt=""><area href="classFG__TextWidget.html#a3" shape="rect" coords="381,260,549,287" alt=""><area href="classFG__Edit.html#d0" shape="rect" coords="205,159,328,185" alt=""><area href="classFG__String.html#a4" shape="rect" coords="616,32,739,59" alt=""><area href="classFG__String.html#a3" shape="rect" coords="616,133,739,160" alt=""><area href="classFG__TextWidget.html#a1" shape="rect" coords="391,108,540,135" alt=""><area href="classFG__Object.html#b4" shape="rect" coords="599,197,756,224" alt=""><area href="classFG__String.html#a5" shape="rect" coords="620,260,735,287" alt=""><area href="classFG__TextWidget.html#a2" shape="rect" coords="391,159,540,185" alt=""></map><a class="anchor" name="b2" doxytag="FG_Edit::OnMouse" ></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::OnMouse </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="structFG__Message.html">FG_Message</a> * </td> <td class="mdname1" valign="top" nowrap> <em>pMsg</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>鼠标消息(<a class="el" href="group__Utility.html#gga12a21">FG_MSG_MOUSE</a>)的处理函数. <p><dl compact><dt><b>参数:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>pMsg</em> </td><td>指向鼠标消息结构的指针 </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#l00166">166</a>行定义。 </td> </tr></table><hr><h2>成员数据文档</h2><a class="anchor" name="p2" doxytag="FG_Edit::m_bDrawCursor" ></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 <a class="el" href="classFG__Edit.html#p2">FG_Edit::m_bDrawCursor</a><code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>光标是否显示,true表示显示,false表示不显示 <p><p>在文件<a class="el" href="FG__Edit_8h-source.html">FG_Edit.h</a>第<a class="el" href="FG__Edit_8h-source.html#l00111">111</a>行定义。<p>参考自 <a class="el" href="FG__Edit_8cpp-source.html#l00214">DrawWithCursor()</a>、<a class="el" href="FG__Edit_8cpp-source.html#l00060">FG_Edit()</a>、<a class="el" href="FG__Edit_8cpp-source.html#l00145">OnCursorTimer()</a>、<a class="el" href="FG__Edit_8cpp-source.html#l00073">OnDraw()</a>及<a class="el" href="FG__Edit_8cpp-source.html#l00155">OnFocus()</a>. </td> </tr></table><a class="anchor" name="v0" doxytag="FG_Edit::m_MsgEntries" ></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__ENTRY.html">FG_MSGMAP_ENTRY</a> <a class="el" href="classFG__Edit.html#v0">FG_Edit::m_MsgEntries</a><code> [static, private]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p><b>初始化序列:</b><div class="fragment"><pre> { { <a class="code" href="group__Utility.html#gga12a19">FG_MSG_DRAW</a>, 0, 0, (<a class="code" href="group__MsgHandler__Type.html#ga0">FG_PMSG_vv</a>)(<a class="code" href="group__MsgHandler__Type.html#ga1">FG_PMSG_vd</a>)& <a class="code" href="classFG__Edit.html#b0">FG_Edit::OnDraw</a> }, { <a class="code" href="group__Utility.html#gga12a20">FG_MSG_KEY</a>, <a class="code" href="group__Utility.html#gga13a29">FKS_DOWN</a>, 0, (<a class="code" href="group__MsgHandler__Type.html#ga0">FG_PMSG_vv</a>)(<a class="code" href="group__MsgHandler__Type.html#ga3">FG_PMSG_bm</a>)& <a class="code" href="classFG__Edit.html#b1">FG_Edit::OnKeyDown</a> }, { <a class="code" href="group__Utility.html#gga12a21">FG_MSG_MOUSE</a>, 0, 0, (<a class="code" href="group__MsgHandler__Type.html#ga0">FG_PMSG_vv</a>)(<a class="code" href="group__MsgHandler__Type.html#ga3">FG_PMSG_bm</a>)& <a class="code" href="classFG__Edit.html#b2">FG_Edit::OnMouse</a> }, { <a class="code" href="group__Utility.html#gga12a22">FG_MSG_TIMER</a>, <a class="code" href="classFG__Edit.html#y1y0">TIMERID_CURSOR</a> , 0, (<a class="code" href="group__MsgHandler__Type.html#ga0">FG_PMSG_vv</a>)& <a class="code" href="classFG__Edit.html#b3">FG_Edit::OnCursorTimer</a> }, { <a class="code" href="group__Utility.html#gga12a25">FG_MSG_FOCUS</a>, 0, 0, (<a class="code" href="group__MsgHandler__Type.html#ga0">FG_PMSG_vv</a>)(<a class="code" href="group__MsgHandler__Type.html#ga2">FG_PMSG_vm</a>)& <a class="code" href="classFG__Edit.html#b4">FG_Edit::OnFocus</a> },{ 0, 0, 0, (<a class="code" href="group__MsgHandler__Type.html#ga0">FG_PMSG_vv</a>) 0 } }</pre></div>消息映射表项数组. <p><p>重载<a class="el" href="classFG__Label.html#v0">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="t0" doxytag="FG_Edit::m_MsgMap" ></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> <a class="el" href="classFG__Edit.html#t0">FG_Edit::m_MsgMap</a> = { & <a class="el" href="classFG__Label.html">FG_Label</a> ::<a class="el" href="classFG__Edit.html#t0">m_MsgMap</a>, & <a class="el" href="classFG__Edit.html">FG_Edit</a> ::<a class="el" href="classFG__Edit.html#v0">m_MsgEntries</a>[0] }<code> [static, protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>本类的消息映射表 <p><p>重载<a class="el" href="classFG__Label.html#t0">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="p1" doxytag="FG_Edit::m_wCursorPos" ></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"> <a class="el" href="group__Utility.html#ga1">WORD</a> <a class="el" href="classFG__Edit.html#p1">FG_Edit::m_wCursorPos</a><code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>光标的当前位置 <p><p>在文件<a class="el" href="FG__Edit_8h-source.html">FG_Edit.h</a>第<a class="el" href="FG__Edit_8h-source.html#l00109">109</a>行定义。<p>参考自 <a class="el" href="FG__Edit_8cpp-source.html#l00191">DeleteChar()</a>、<a class="el" href="FG__Edit_8cpp-source.html#l00060">FG_Edit()</a>、<a class="el" href="FG__Edit_8cpp-source.html#l00174">InsertChar()</a>、<a class="el" href="FG__Edit_8cpp-source.html#l00073">OnDraw()</a>及<a class="el" href="FG__Edit_8cpp-source.html#l00108">OnKeyDown()</a>. </td> </tr></table><a class="anchor" name="p0" doxytag="FG_Edit::m_wLimit" ></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"> <a class="el" href="group__Utility.html#ga1">WORD</a> <a class="el" href="classFG__Edit.html#p0">FG_Edit::m_wLimit</a><code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>编辑控件中能输入的最大的字符个数 <p><p>在文件<a class="el" href="FG__Edit_8h-source.html">FG_Edit.h</a>第<a class="el" href="FG__Edit_8h-source.html#l00107">107</a>行定义。<p>参考自 <a class="el" href="FG__Edit_8cpp-source.html#l00108">OnKeyDown()</a>. </td> </tr></table><hr>该类的文档由以下文件生成:<ul><li><a class="el" href="FG__Edit_8h-source.html">FG_Edit.h</a><li><a class="el" href="FG__Edit_8cpp-source.html">FG_Edit.cpp</a></ul><hr><center>由 DoxyGen 1.3.6 于 Wed Jun 9 22:38:53 2004 生成<br>版权所有 (C) 2003,2004 王咏武</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -