📄 classfg__window.html
字号:
</table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>控件发送的要求重画消息<a class="el" href="group__Utility.html#gga12a24">FG_MSG_DRAW_REQUEST</a>的处理函数 <p><ul><li>如果本窗口为焦点窗口<ul><li>直接发送<a class="el" href="group__Utility.html#gga12a19">FG_MSG_DRAW</a>消息给要求重画控件,使其重画自己</li></ul></li><li>否则<ul><li>给屏幕对象发送要求重画消息<a class="el" href="group__Utility.html#gga12a24">FG_MSG_DRAW_REQUEST</a></li></ul></li></ul><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__Window_8cpp-source.html">FG_Window.cpp</a>第<a class="el" href="FG__Window_8cpp-source.html#l00173">173</a>行定义。<p>参考 <a class="el" href="group__Utility.html#gga12a19">FG_MSG_DRAW</a>、<a class="el" href="FG__Object_8h-source.html#l00217">FG_Object::IsFocus()</a>、<a class="el" href="FG__Object_8cpp-source.html#l00170">FG_Object::Message()</a>、<a class="el" href="FG__Message_8h-source.html#l00199">FG_Message::pData</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_b3_cgraph.png" border="0" usemap="#classFG__Window_b3_cgraph_map" alt=""></center><map name="classFG__Window_b3_cgraph_map"><area href="classFG__Object.html#a19" shape="rect" coords="262,6,388,33" alt=""><area href="classFG__Object.html#a20" shape="rect" coords="453,82,584,109" alt=""><area href="classFG__Object.html#b4" shape="rect" coords="246,108,404,134" alt=""><area href="group__OSAdaptor.html#ga1" shape="rect" coords="684,32,782,58" alt=""><area href="structFG__MSGMAP.html#a0" shape="rect" coords="633,82,833,109" alt=""><area href="classFG__Object.html#b5" shape="rect" coords="644,133,822,160" alt=""></map><a class="anchor" name="b4" doxytag="FG_Window::OnFocus" ></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_Window::OnFocus </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#gga12a25">FG_MSG_FOCUS</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="classFG__Object.html#b7">FG_Object</a>。<p>在文件<a class="el" href="FG__Window_8cpp-source.html">FG_Window.cpp</a>第<a class="el" href="FG__Window_8cpp-source.html#l00240">240</a>行定义。<p>参考 <a class="el" href="FG__Window_8h-source.html#l00195">m_pFocus</a>、<a class="el" href="FG__Object_8cpp-source.html#l00170">FG_Object::Message()</a>及<a class="el" href="FG__Object_8cpp-source.html#l00250">FG_Object::OnFocus()</a>. </td> </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Window_b4_cgraph.png" border="0" usemap="#classFG__Window_b4_cgraph_map" alt=""></center><map name="classFG__Window_b4_cgraph_map"><area href="classFG__Object.html#a20" shape="rect" coords="208,6,339,33" alt=""><area href="classFG__Object.html#b7" shape="rect" coords="208,57,339,84" alt=""></map><a class="anchor" name="b1" doxytag="FG_Window::OnKey" ></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::OnKey </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#gga12a20">FG_MSG_KEY</a>的处理函数 <p><ul><li>如果是<a class="el" href="group__Virtual__Key.html#ga16">FVK_TAB</a>键,按顺序切换焦点</li><li>否则,发送给快捷键管理器处理</li><li>如果不是快捷键(快捷键管理器未处理),发送给当前焦点窗口</li></ul><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><dl compact><dt><b>返回:</b></dt><dd>该键盘消息是否被处理 true 该键盘消息已被处理 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#l00192">192</a>行定义。<p>参考 <a class="el" href="FG__Window_8cpp-source.html#l00105">ChangeFocus()</a>、<a class="el" href="FG__List_8h-source.html#l00866">FG_ListFind_If()</a>、<a class="el" href="group__Utility.html#gga13a29">FKS_DOWN</a>、<a class="el" href="FG__Message_8h-source.html#l00105">FVK_TAB</a>、<a class="el" href="FG__Message_8h-source.html#l00200">FG_Message::lData</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__Object_8cpp-source.html#l00170">FG_Object::Message()</a>、<a class="el" href="FG__KeyMap_8cpp-source.html#l00059">FG_KeyMap::SendKey()</a>及<a class="el" href="FG__Message_8h-source.html#l00194">FG_Message::wData</a>. </td> </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Window_b1_cgraph.png" border="0" usemap="#classFG__Window_b1_cgraph_map" alt=""></center><map name="classFG__Window_b1_cgraph_map"><area href="classFG__Window.html#a6" shape="rect" coords="195,25,360,52" alt=""><area href="classFG__Object.html#a20" shape="rect" coords="425,69,556,96" alt=""><area href="group__Utility.html#ga10" shape="rect" coords="444,152,537,179" alt=""><area href="classFG__KeyMap.html#a2" shape="rect" coords="207,177,348,204" alt=""><area href="classFG__Widget.html#a1" shape="rect" coords="409,19,572,45" alt=""><area href="group__OSAdaptor.html#ga1" shape="rect" coords="671,7,769,33" alt=""><area href="structFG__MSGMAP.html#a0" shape="rect" coords="620,57,820,84" alt=""><area href="classFG__Object.html#b5" shape="rect" coords="631,108,809,135" alt=""><area href="classFG__ListCheck.html#a0" shape="rect" coords="655,159,785,185" alt=""><area href="classFG__SList.html#a2" shape="rect" coords="443,203,539,229" alt=""></map><a class="anchor" name="b2" doxytag="FG_Window::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_Window::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><dl compact><dt><b>返回:</b></dt><dd>该鼠标消息是否被处理 true 该鼠标消息已被处理 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#l00221">221</a>行定义。<p>参考 <a class="el" href="FG__Window_8cpp-source.html#l00105">ChangeFocus()</a>、<a class="el" href="group__Utility.html#gga14a32">FMS_LBUTTONDOWN</a>、<a class="el" href="FG__Message_8h-source.html#l00201">FG_Message::Point</a>及<a class="el" href="FG__Message_8h-source.html#l00194">FG_Message::wData</a>. </td> </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Window_b2_cgraph.png" border="0" usemap="#classFG__Window_b2_cgraph_map" alt=""></center><map name="classFG__Window_b2_cgraph_map"><area href="classFG__Window.html#a6" shape="rect" coords="211,32,376,59" alt=""><area href="classFG__Widget.html#a1" shape="rect" coords="425,7,588,33" alt=""><area href="classFG__Object.html#a20" shape="rect" coords="441,57,572,84" alt=""><area href="group__OSAdaptor.html#ga1" shape="rect" coords="687,7,785,33" alt=""><area href="structFG__MSGMAP.html#a0" shape="rect" coords="636,57,836,84" alt=""><area href="classFG__Object.html#b5" shape="rect" coords="647,108,825,135" alt=""></map><a class="anchor" name="a5" doxytag="FG_Window::RegisterKey" ></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::RegisterKey </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group__Utility.html#ga1">WORD</a> </td> <td class="mdname" nowrap> <em>wOrgKey</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>const <a class="el" href="group__Utility.html#ga1">WORD</a> </td> <td class="mdname" nowrap> <em>wActKey</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>const <a class="el" href="group__Utility.html#ga1">WORD</a> </td> <td class="mdname" nowrap> <em>wID</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>注册快捷键 <p>快捷键的含义为:当本窗口为焦点窗口时,如果用户按键值为wOrgKey的键盘消息, 直接把该键盘消息发送给标识为wID的控件,并把键值转换成wActKey <dl compact><dt><b>参数:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>wOrgKey</em> </td><td>原始的<a class="el" href="group__Virtual__Key.html">虚拟键码</a> </td></tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -