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

📄 classwin2.html

📁 《道法自然》书的源码FishGUI,一个跨平台的界面库
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=gb2312"><title>FishGUI: Win2 class 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>Win2类参考<br><small>[<a class="el" href="group__Application.html">应用层(示例应用程序FishGUIDemo)</a>]</small></h1><code>#include &lt;<a class="el" href="Win2_8h-source.html">Win2.h</a>&gt;</code><p><p>继承图,类Win2<p><center><img src="classWin2.png" usemap="#Win2_map" border="0" alt=""></center><map name="Win2_map"><area href="classFG__Window.html" alt="FG_Window" shape="rect" coords="0,112,91,136"><area href="classFG__Container.html" alt="FG_Container" shape="rect" coords="0,56,91,80"><area href="classFG__Object.html" alt="FG_Object" shape="rect" coords="0,0,91,24"></map>Win2合作图:<p><center><img src="classWin2__coll__graph.png" border="0" usemap="#Win2__coll__map" alt="Collaboration graph"></center><map name="Win2__coll__map"><area href="classFG__Window.html" shape="rect" coords="116,369,241,705" alt=""><area href="structFG__MSGMAP.html" shape="rect" coords="255,209,383,305" alt=""><area href="structFG__MSGMAP__ENTRY.html" shape="rect" coords="79,17,220,145" alt=""></map><center><font size="2">[<a target="top" href="graph_legend.html">图例</a>]</font></center><a href="classWin2-members.html">所有成员的列表。</a><hr><a name="_details"></a><h2>详细描述</h2>用户定义的窗口2类. <p><p>在文件<a class="el" href="Win2_8h-source.html">Win2.h</a>第<a class="el" href="Win2_8h-source.html#l00046">46</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>enum &nbsp;</td><td class="memItemRight" valign=bottom>{ <br>&nbsp;&nbsp;<a class="el" href="classWin2.html#w8w0">ID_RADIO1</a> =  1, <a class="el" href="classWin2.html#w8w1">ID_RADIO2</a>, <a class="el" href="classWin2.html#w8w2">ID_RADIO3</a>, <a class="el" href="classWin2.html#w8w3">ID_RADIO4</a>, <br>&nbsp;&nbsp;<a class="el" href="classWin2.html#w8w4">ID_RADIO5</a>, <a class="el" href="classWin2.html#w8w5">ID_RADIO6</a>, <a class="el" href="classWin2.html#w8w6">ID_OK</a>, <a class="el" href="classWin2.html#w8w7">ID_CANCEL</a><br> }</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">窗口2上的控件ID  <a href="#w8">更多...</a><br><br></td></tr><tr><td colspan=2><br><h2>公有成员</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWin2.html#a0">Win2</a> (<a class="el" href="group__Utility.html#ga1">WORD</a> wID=0)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">窗口2的构造函数  <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>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWin2.html#b0">OnOK</a> (void)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">“确定”按钮按下通知消息(<a class="el" href="group__Utility.html#gga16a38">FBN_PRESSED</a>,<a class="el" href="classWin2.html#w8w6">ID_OK</a>)的处理函数  <a href="#b0"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWin2.html#b1">OnCancel</a> (void)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">“取消”按钮按下通知消息(<a class="el" href="group__Utility.html#gga16a38">FBN_PRESSED</a>,<a class="el" href="classWin2.html#w8w7">ID_CANCEL</a>)的处理函数  <a href="#b1"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="structFG__MSGMAP.html">FG_MSGMAP</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWin2.html#b2">GetMessageMap</a> () const </td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">得到本类的消息映射表指针  <a href="#b2"></a><br><br></td></tr><tr><td colspan=2><br><h2>静态保护属性</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="structFG__MSGMAP.html">FG_MSGMAP</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWin2.html#t0">m_MsgMap</a> = { &amp; <a class="el" href="classFG__Window.html">FG_Window</a> ::<a class="el" href="classWin2.html#t0">m_MsgMap</a>, &amp; <a class="el" href="classWin2.html">Win2</a> ::<a class="el" href="classWin2.html#v0">m_MsgEntries</a>[0] }</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">本类的消息映射表  <a href="#t0"></a><br><br></td></tr><tr><td colspan=2><br><h2>静态私有属性</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="structFG__MSGMAP__ENTRY.html">FG_MSGMAP_ENTRY</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classWin2.html#v0">m_MsgEntries</a> []</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">消息映射表项数组.  <a href="#v0"></a><br><br></td></tr></table><hr><h2>成员枚举类型文档</h2><a class="anchor" name="w8" doxytag="Win2::@4" ></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"> anonymous enum      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>窗口2上的控件ID <p><dl compact><dt><b>枚举值: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a class="anchor" name="w8w0" doxytag="ID_RADIO1" ></a>ID_RADIO1</em>&nbsp;</td><td></td></tr><tr><td valign=top><em><a class="anchor" name="w8w1" doxytag="ID_RADIO2" ></a>ID_RADIO2</em>&nbsp;</td><td></td></tr><tr><td valign=top><em><a class="anchor" name="w8w2" doxytag="ID_RADIO3" ></a>ID_RADIO3</em>&nbsp;</td><td></td></tr><tr><td valign=top><em><a class="anchor" name="w8w3" doxytag="ID_RADIO4" ></a>ID_RADIO4</em>&nbsp;</td><td></td></tr><tr><td valign=top><em><a class="anchor" name="w8w4" doxytag="ID_RADIO5" ></a>ID_RADIO5</em>&nbsp;</td><td></td></tr><tr><td valign=top><em><a class="anchor" name="w8w5" doxytag="ID_RADIO6" ></a>ID_RADIO6</em>&nbsp;</td><td></td></tr><tr><td valign=top><em><a class="anchor" name="w8w6" doxytag="ID_OK" ></a>ID_OK</em>&nbsp;</td><td></td></tr><tr><td valign=top><em><a class="anchor" name="w8w7" doxytag="ID_CANCEL" ></a>ID_CANCEL</em>&nbsp;</td><td></td></tr></table></dl><p>在文件<a class="el" href="Win2_8h-source.html">Win2.h</a>第<a class="el" href="Win2_8h-source.html#l00052">52</a>行定义。    </td>  </tr></table><hr><h2>构造及析构函数文档</h2><a class="anchor" name="a0" doxytag="Win2::Win2" ></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"> Win2::Win2 </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>wID</em> = 0          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>窗口2的构造函数 <p>创建所有的控件,注册快捷键 <dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>wID</em>&nbsp;</td><td>窗口2的唯一标识,缺省为0 </td></tr>  </table></dl><p>在文件<a class="el" href="Win2_8cpp-source.html">Win2.cpp</a>第<a class="el" href="Win2_8cpp-source.html#l00081">81</a>行定义。<p>参考 <a class="el" href="FG__Window_8cpp-source.html#l00063">FG_Window::AddWidget()</a>、<a class="el" href="FG__Factory_8h-source.html#l00090">FG_Factory::CreateButton()</a>、<a class="el" href="FG__Factory_8h-source.html#l00103">FG_Factory::CreateCheckBox()</a>、<a class="el" href="FG__Factory_8h-source.html#l00131">FG_Factory::CreateGroup()</a>、<a class="el" href="FG__Factory_8h-source.html#l00159">FG_Factory::CreateRadioButton()</a>、<a class="el" href="FG__Screen_8cpp-source.html#l00064">FG_GetFactory()</a>、<a class="el" href="FG__Common_8h-source.html#l00115">FS_RAISED</a>、<a class="el" href="FG__Message_8h-source.html#l00101">FVK_ENTER</a>、<a class="el" href="classWin2.html#w8w7">ID_CANCEL</a>、<a class="el" href="classWin2.html#w8w6">ID_OK</a>、<a class="el" href="FG__Common_8h-source.html#l00046">NULL</a>、<a class="el" href="group__Win2__Rect.html#ga16">RECT_Cancel</a>、<a class="el" href="group__Win2__Rect.html#ga9">RECT_Check1</a>、<a class="el" href="group__Win2__Rect.html#ga10">RECT_Check2</a>、<a class="el" href="group__Win2__Rect.html#ga11">RECT_Check3</a>、<a class="el" href="group__Win2__Rect.html#ga12">RECT_Check4</a>、<a class="el" href="group__Win2__Rect.html#ga13">RECT_Check5</a>、<a class="el" href="group__Win2__Rect.html#ga14">RECT_Check6</a>、<a class="el" href="group__Win2__Rect.html#ga1">RECT_Group1</a>、<a class="el" href="group__Win2__Rect.html#ga8">RECT_Group2</a>、<a class="el" href="group__Win2__Rect.html#ga15">RECT_OK</a>、<a class="el" href="group__Win2__Rect.html#ga2">RECT_Radio1</a>、<a class="el" href="group__Win2__Rect.html#ga3">RECT_Radio2</a>、<a class="el" href="group__Win2__Rect.html#ga4">RECT_Radio3</a>、<a class="el" href="group__Win2__Rect.html#ga5">RECT_Radio4</a>、<a class="el" href="group__Win2__Rect.html#ga6">RECT_Radio5</a>、<a class="el" href="group__Win2__Rect.html#ga7">RECT_Radio6</a>、<a class="el" href="group__Win2__Rect.html#ga0">RECT_Win2</a>、<a class="el" href="FG__Window_8cpp-source.html#l00126">FG_Window::RegisterKey()</a>、<a class="el" href="FG__Rect_8h-source.html#l00082">FG_Rect::Set()</a>、<a class="el" href="FG__RadioButton_8h-source.html#l00077">FG_RadioButton::SetChecked()</a>、<a class="el" href="FG__Rect_8h-source.html#l00059">FG_Rect::wBottom</a>、<a class="el" href="FG__Rect_8h-source.html#l00053">FG_Rect::wLeft</a>、<a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>、<a class="el" href="FG__Rect_8h-source.html#l00057">FG_Rect::wRight</a>及<a class="el" href="FG__Rect_8h-source.html#l00055">FG_Rect::wTop</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classWin2_a0_cgraph.png" border="0" usemap="#classWin2_a0_cgraph_map" alt=""></center><map name="classWin2_a0_cgraph_map"><area href="classFG__Window.html#a2" shape="rect" coords="165,133,315,160" alt=""><area href="classFG__Factory.html#a3" shape="rect" coords="160,311,320,337" alt=""><area href="classFG__Factory.html#a4" shape="rect" coords="149,361,331,388" alt=""><area href="classFG__Factory.html#a6" shape="rect" coords="161,412,319,439" alt=""><area href="classFG__Factory.html#a8" shape="rect" coords="143,463,337,489" alt=""><area href="group__Framework.html#ga1" shape="rect" coords="191,513,289,540" alt=""><area href="classFG__Window.html#a5" shape="rect" coords="161,260,319,287" alt=""><area href="structFG__Rect.html#a2" shape="rect" coords="196,564,284,591" alt=""><area href="classFG__RadioButton.html#a2" shape="rect" coords="149,209,331,236" alt=""><area href="classFG__Container.html#b0" shape="rect" coords="404,57,551,84" alt=""><area href="classFG__Widget.html#a1" shape="rect" coords="617,108,780,135" alt=""><area href="classFG__Window.html#a6" shape="rect" coords="395,159,560,185" alt=""><area href="classFG__BList.html#a6" shape="rect" coords="652,7,745,33" alt=""><area href="classFG__Object.html#a11" shape="rect" coords="640,57,757,84" alt=""><area href="classFG__Object.html#a20" shape="rect" coords="633,159,764,185" alt=""><area href="classFG__Screen.html#a3" shape="rect" coords="404,539,551,565" alt=""><area href="classFG__Screen.html#e0" shape="rect" coords="405,488,549,515" alt=""><area href="classFG__Screen.html#b3" shape="rect" coords="625,488,772,515" alt=""><area href="classFG__Container.html#a3" shape="rect" coords="404,260,551,287" alt=""><area href="classFG__KeyMap.html#a1" shape="rect" coords="397,311,557,337" alt=""><area href="classFG__Widget.html#a2" shape="rect" coords="387,361,568,388" alt=""><area href="group__Utility.html#ga10" shape="rect" coords="652,209,745,236" alt=""><area href="classFG__BList.html#a3" shape="rect" coords="651,260,747,287" alt=""><area href="classFG__SList.html#a4" shape="rect" coords="652,311,745,337" alt=""><area href="classFG__Object.html#b4" shape="rect" coords="399,209,556,236" alt=""></map><hr><h2>成员函数文档</h2><a class="anchor" name="b2" doxytag="Win2::GetMessageMap" ></a><p>

⌨️ 快捷键说明

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