📄 structfg__keymapitem.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=gb2312"><title>FishGUI: FG_KeyMapItem struct Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- 制作者 Doxygen 1.3.6 --><div class="qindex"><a class="qindex" href="main.html">首页</a> | <a class="qindex" href="modules.html">模块</a> | <a class="qindex" href="hierarchy.html">类继承关系</a> | <a class="qindex" href="classes.html">按字典顺序排序的列表</a> | <a class="qindex" href="annotated.html">组合类型列表</a> | <a class="qindex" href="files.html">文件列表</a> | <a class="qindex" href="functions.html">组合类型成员</a> | <a class="qindex" href="globals.html">文件成员</a></div><h1>FG_KeyMapItem结构参考<br><small>[<a class="el" href="group__Framework.html">框架层</a>]</small></h1><code>#include <<a class="el" href="FG__KeyMap_8h-source.html">FG_KeyMap.h</a>></code><p>FG_KeyMapItem合作图:<p><center><img src="structFG__KeyMapItem__coll__graph.png" border="0" usemap="#FG__KeyMapItem__coll__map" alt="Collaboration graph"></center><map name="FG__KeyMapItem__coll__map"><area href="classFG__Widget.html" shape="rect" coords="7,17,135,177" alt=""></map><center><font size="2">[<a target="top" href="graph_legend.html">图例</a>]</font></center><a href="structFG__KeyMapItem-members.html">所有成员的列表。</a><hr><a name="_details"></a><h2>详细描述</h2>键盘映射表项结构 <p>管理原始的<a class="el" href="group__Virtual__Key.html">虚拟键码</a>、实际的<a class="el" href="group__Virtual__Key.html">虚拟键码</a>以及目标控件的映射关系。<br> 三者之间的关系为:如果用户按键值为“原始的<a class="el" href="group__Virtual__Key.html">虚拟键码</a>”的键盘消息, 该键盘消息会发送给“目标控件”,实际发送的键值被转换成“实际的<a class="el" href="group__Virtual__Key.html">虚拟键码</a>” <p><p>在文件<a class="el" href="FG__KeyMap_8h-source.html">FG_KeyMap.h</a>第<a class="el" href="FG__KeyMap_8h-source.html#l00051">51</a>行定义。<table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>公有成员</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="structFG__KeyMapItem.html#a0">FG_KeyMapItem</a> (const <a class="el" href="group__Utility.html#ga1">WORD</a> wOrgKey, const <a class="el" href="group__Utility.html#ga1">WORD</a> wActKey, <a class="el" href="classFG__Widget.html">FG_Widget</a> *const pTarget)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">键盘映射表项结构的构造函数 <a href="#a0"></a><br><br></td></tr><tr><td colspan=2><br><h2>公有属性</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__Utility.html#ga1">WORD</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structFG__KeyMapItem.html#o0">m_wOriginKey</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">原始的<a class="el" href="group__Virtual__Key.html">虚拟键码</a>. <a href="#o0"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__Utility.html#ga1">WORD</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structFG__KeyMapItem.html#o1">m_wActualKey</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">实际的<a class="el" href="group__Virtual__Key.html">虚拟键码</a>. <a href="#o1"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classFG__Widget.html">FG_Widget</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="structFG__KeyMapItem.html#o2">m_pTarget</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">目标控件. <a href="#o2"></a><br><br></td></tr></table><hr><h2>构造及析构函数文档</h2><a class="anchor" name="a0" doxytag="FG_KeyMapItem::FG_KeyMapItem" ></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"> FG_KeyMapItem::FG_KeyMapItem </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><a class="el" href="classFG__Widget.html">FG_Widget</a> *const </td> <td class="mdname" nowrap> <em>pTarget</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>键盘映射表项结构的构造函数 <p><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> <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>pTarget</em> </td><td>目标控件 </td></tr> </table></dl><p>在文件<a class="el" href="FG__KeyMap_8h-source.html">FG_KeyMap.h</a>第<a class="el" href="FG__KeyMap_8h-source.html#l00060">60</a>行定义。<p>参考 <a class="el" href="FG__KeyMap_8h-source.html#l00069">m_pTarget</a>、<a class="el" href="FG__KeyMap_8h-source.html#l00067">m_wActualKey</a>、<a class="el" href="FG__KeyMap_8h-source.html#l00065">m_wOriginKey</a>及<a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>. </td> </tr></table><hr><h2>成员数据文档</h2><a class="anchor" name="o2" doxytag="FG_KeyMapItem::m_pTarget" ></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="structFG__KeyMapItem.html#o2">FG_KeyMapItem::m_pTarget</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>目标控件. <p><p>在文件<a class="el" href="FG__KeyMap_8h-source.html">FG_KeyMap.h</a>第<a class="el" href="FG__KeyMap_8h-source.html#l00069">69</a>行定义。<p>参考自 <a class="el" href="FG__KeyMap_8h-source.html#l00060">FG_KeyMapItem()</a>. </td> </tr></table><a class="anchor" name="o1" doxytag="FG_KeyMapItem::m_wActualKey" ></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="structFG__KeyMapItem.html#o1">FG_KeyMapItem::m_wActualKey</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>实际的<a class="el" href="group__Virtual__Key.html">虚拟键码</a>. <p><p>在文件<a class="el" href="FG__KeyMap_8h-source.html">FG_KeyMap.h</a>第<a class="el" href="FG__KeyMap_8h-source.html#l00067">67</a>行定义。<p>参考自 <a class="el" href="FG__KeyMap_8h-source.html#l00060">FG_KeyMapItem()</a>. </td> </tr></table><a class="anchor" name="o0" doxytag="FG_KeyMapItem::m_wOriginKey" ></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="structFG__KeyMapItem.html#o0">FG_KeyMapItem::m_wOriginKey</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>原始的<a class="el" href="group__Virtual__Key.html">虚拟键码</a>. <p><p>在文件<a class="el" href="FG__KeyMap_8h-source.html">FG_KeyMap.h</a>第<a class="el" href="FG__KeyMap_8h-source.html#l00065">65</a>行定义。<p>参考自 <a class="el" href="FG__KeyMap_8h-source.html#l00060">FG_KeyMapItem()</a>及<a class="el" href="FG__KeyMap_8h-source.html#l00143">FG_CheckOriginKey::FindIt()</a>. </td> </tr></table><hr>该结构的文档由以下文件生成:<ul><li><a class="el" href="FG__KeyMap_8h-source.html">FG_KeyMap.h</a></ul><hr><center>由 DoxyGen 1.3.6 于 Wed Jun 9 22:38:15 2004 生成<br>版权所有 (C) 2003,2004 王咏武</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -