📄 classfg__window.html
字号:
<tr><td valign=top><em>wActKey</em> </td><td>发送到对应的控件时,应转换成的实际<a class="el" href="group__Virtual__Key.html">虚拟键码</a> </td></tr> <tr><td valign=top><em>wID</em> </td><td>注册快捷键的控件 </td></tr> </table></dl><dl compact><dt><b>返回:</b></dt><dd>删除操作是否成功<br> true 成功<br> false 失败 </dd></dl><p>在文件<a class="el" href="FG__Window_8cpp-source.html">FG_Window.cpp</a>第<a class="el" href="FG__Window_8cpp-source.html#l00126">126</a>行定义。<p>参考 <a class="el" href="FG__Window_8cpp-source.html#l00105">ChangeFocus()</a>、<a class="el" href="FG__Container_8cpp-source.html#l00047">FG_Container::GetChild()</a>、<a class="el" href="FG__Window_8h-source.html#l00199">m_KeyMap</a>、<a class="el" href="FG__Window_8h-source.html#l00195">m_pFocus</a>、<a class="el" href="FG__Common_8h-source.html#l00046">NULL</a>、<a class="el" href="FG__KeyMap_8h-source.html#l00095">FG_KeyMap::RegisterKey()</a>、<a class="el" href="FG__Widget_8h-source.html#l00077">FG_Widget::SetCanGetFocus()</a>及<a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>.<p>参考自 <a class="el" href="MainWindow_8cpp-source.html#l00095">MainWindow::MainWindow()</a>、<a class="el" href="Win1_8cpp-source.html#l00074">Win1::Win1()</a>及<a class="el" href="Win2_8cpp-source.html#l00081">Win2::Win2()</a>. </td> </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Window_a5_cgraph.png" border="0" usemap="#classFG__Window_a5_cgraph_map" alt=""></center><map name="classFG__Window_a5_cgraph_map"><area href="classFG__Window.html#a6" shape="rect" coords="235,83,400,109" alt=""><area href="classFG__Container.html#a3" shape="rect" coords="244,159,391,185" alt=""><area href="classFG__KeyMap.html#a1" shape="rect" coords="237,209,397,236" alt=""><area href="classFG__Widget.html#a2" shape="rect" coords="227,260,408,287" alt=""><area href="classFG__Widget.html#a1" shape="rect" coords="457,32,620,59" alt=""><area href="classFG__Object.html#a20" shape="rect" coords="473,83,604,109" alt=""><area href="group__OSAdaptor.html#ga1" shape="rect" coords="719,7,817,33" alt=""><area href="structFG__MSGMAP.html#a0" shape="rect" coords="668,57,868,84" alt=""><area href="classFG__Object.html#b5" shape="rect" coords="679,108,857,135" alt=""><area href="group__Utility.html#ga10" shape="rect" coords="492,133,585,160" alt=""><area href="classFG__BList.html#a3" shape="rect" coords="491,184,587,211" alt=""><area href="classFG__ListCheck.html#a0" shape="rect" coords="703,159,833,185" alt=""><area href="classFG__SList.html#a4" shape="rect" coords="492,235,585,261" alt=""></map><a class="anchor" name="a3" doxytag="FG_Window::RemoveWidget" ></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_Window::RemoveWidget </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classFG__Widget.html">FG_Widget</a> *const </td> <td class="mdname1" valign="top" nowrap> <em>pWidget</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>从窗口中删除一个控件 <p>如果删除的是当前焦点控件,把焦点指针置为<a class="el" href="group__Utility.html#ga11">NULL</a>,之后,用户需要自己调整焦点 <dl compact><dt><b>参数:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>pWidget</em> </td><td>要删除的控件指针 </td></tr> </table></dl><dl compact><dt><b>返回:</b></dt><dd>删除操作是否成功<br> true 成功<br> false 失败 </dd></dl><p>在文件<a class="el" href="FG__Window_8cpp-source.html">FG_Window.cpp</a>第<a class="el" href="FG__Window_8cpp-source.html#l00078">78</a>行定义。<p>参考 <a class="el" href="FG__Window_8cpp-source.html#l00105">ChangeFocus()</a>、<a class="el" href="FG__Window_8h-source.html#l00195">m_pFocus</a>、<a class="el" href="FG__Common_8h-source.html#l00046">NULL</a>、<a class="el" href="FG__Container_8cpp-source.html#l00068">FG_Container::RemoveChild()</a>及<a class="el" href="FG__Object_8cpp-source.html#l00239">FG_Object::RequestDraw()</a>. </td> </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Window_a3_cgraph.png" border="0" usemap="#classFG__Window_a3_cgraph_map" alt=""></center><map name="classFG__Window_a3_cgraph_map"><area href="classFG__Window.html#a6" shape="rect" coords="244,7,409,33" alt=""><area href="classFG__Container.html#b1" shape="rect" coords="241,108,412,135" alt=""><area href="classFG__Object.html#b4" shape="rect" coords="248,57,405,84" alt=""><area href="classFG__Widget.html#a1" shape="rect" coords="460,7,623,33" alt=""><area href="classFG__Object.html#a20" shape="rect" coords="476,57,607,84" alt=""><area href="group__OSAdaptor.html#ga1" shape="rect" coords="721,7,820,33" alt=""><area href="structFG__MSGMAP.html#a0" shape="rect" coords="671,57,871,84" alt=""><area href="classFG__Object.html#b5" shape="rect" coords="681,108,860,135" alt=""><area href="classFG__BList.html#a5" shape="rect" coords="483,108,600,135" alt=""></map><hr><h2>成员数据文档</h2><a class="anchor" name="r0" doxytag="FG_Window::m_KeyMap" ></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="classFG__KeyMap.html">FG_KeyMap</a> <a class="el" href="classFG__Window.html#r0">FG_Window::m_KeyMap</a><code> [private]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>键盘映射表管理器 <p><p>在文件<a class="el" href="FG__Window_8h-source.html">FG_Window.h</a>第<a class="el" href="FG__Window_8h-source.html#l00199">199</a>行定义。<p>参考自 <a class="el" href="FG__Window_8cpp-source.html#l00192">OnKey()</a>及<a class="el" href="FG__Window_8cpp-source.html#l00126">RegisterKey()</a>. </td> </tr></table><a class="anchor" name="v0" doxytag="FG_Window::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__Window.html#v0">FG_Window::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__Window.html#b0">FG_Window::OnDraw</a> }, { <a class="code" href="group__Utility.html#gga12a20">FG_MSG_KEY</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__Window.html#b1">FG_Window::OnKey</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__Window.html#b2">FG_Window::OnMouse</a> }, { <a class="code" href="group__Utility.html#gga12a24">FG_MSG_DRAW_REQUEST</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__Window.html#b3">FG_Window::OnDrawRequest</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__Window.html#b4">FG_Window::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__Container.html#v0">FG_Container</a>。<p>被<a class="el" href="classMainWindow.html#v0">MainWindow</a>、<a class="el" href="classWin1.html#v0">Win1</a>及<a class="el" href="classWin2.html#v0">Win2</a>重载。<p>在文件<a class="el" href="FG__Window_8cpp-source.html">FG_Window.cpp</a>第<a class="el" href="FG__Window_8cpp-source.html#l00055">55</a>行定义。 </td> </tr></table><a class="anchor" name="t0" doxytag="FG_Window::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__Window.html#t0">FG_Window::m_MsgMap</a> = { & <a class="el" href="classFG__Container.html">FG_Container</a> ::<a class="el" href="classFG__Window.html#t0">m_MsgMap</a>, & <a class="el" href="classFG__Window.html">FG_Window</a> ::<a class="el" href="classFG__Window.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__Container.html#t0">FG_Container</a>。<p>被<a class="el" href="classMainWindow.html#t0">MainWindow</a>、<a class="el" href="classWin1.html#t0">Win1</a>及<a class="el" href="classWin2.html#t0">Win2</a>重载。<p>在文件<a class="el" href="FG__Window_8cpp-source.html">FG_Window.cpp</a>第<a class="el" href="FG__Window_8cpp-source.html#l00055">55</a>行定义。 </td> </tr></table><a class="anchor" name="p1" doxytag="FG_Window::m_pFocus" ></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="classFG__Widget.html">FG_Widget</a>* <a class="el" href="classFG__Window.html#p1">FG_Window::m_pFocus</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__Window_8h-source.html">FG_Window.h</a>第<a class="el" href="FG__Window_8h-source.html#l00195">195</a>行定义。<p>参考自 <a class="el" href="FG__Window_8cpp-source.html#l00105">ChangeFocus()</a>、<a class="el" href="FG__Window_8h-source.html#l00064">FG_Window()</a>、<a class="el" href="FG__Window_8cpp-source.html#l00240">OnFocus()</a>、<a class="el" href="FG__Window_8cpp-source.html#l00192">OnKey()</a>、<a class="el" href="FG__Window_8cpp-source.html#l00126">RegisterKey()</a>及<a class="el" href="FG__Window_8cpp-source.html#l00078">RemoveWidget()</a>. </td> </tr></table><a class="anchor" name="p0" doxytag="FG_Window::m_Title" ></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="classFG__String.html">FG_String</a> <a class="el" href="classFG__Window.html#p0">FG_Window::m_Title</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__Window_8h-source.html">FG_Window.h</a>第<a class="el" href="FG__Window_8h-source.html#l00193">193</a>行定义。<p>参考自 <a class="el" href="FG__Window_8h-source.html#l00064">FG_Window()</a>、<a class="el" href="FG__Window_8cpp-source.html#l00097">GetClientRect()</a>及<a class="el" href="FG__Window_8cpp-source.html#l00145">OnDraw()</a>. </td> </tr></table><hr>该类的文档由以下文件生成:<ul><li><a class="el" href="FG__Window_8h-source.html">FG_Window.h</a><li><a class="el" href="FG__Window_8cpp-source.html">FG_Window.cpp</a></ul><hr><center>由 DoxyGen 1.3.6 于 Wed Jun 9 22:38:14 2004 生成<br>版权所有 (C) 2003,2004 王咏武</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -