📄 win2_8cpp-source.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: Win2.cpp Source File</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.cpp</h1><a href="Win2_8cpp.html">浏览该文件的文档。</a><div class="fragment"><pre>00001 <span class="comment">/*--------------------------------------------------------------------------</span>00002 <span class="comment"></span>00003 <span class="comment"> Win2.cpp - 用户定义的窗口2类的实现文件</span>00004 <span class="comment"></span>00005 <span class="comment"> 本程序是FishGUI软件的一部分</span>00006 <span class="comment"></span>00007 <span class="comment"> 版权所有 (C) 2003,2004 王咏武</span>00008 <span class="comment"> http://www.contextfree.net/wangyw/</span>00009 <span class="comment"></span>00010 <span class="comment">----------------------------------------------------------------------------</span>00011 <span class="comment"></span>00012 <span class="comment"> 作者对 FishGUI 软件及其所有源代码授权如下:</span>00013 <span class="comment"></span>00014 <span class="comment"> 允许任何个人、组织、机构、企业无偿获得、修改、使用、重新发布 FishGUI 软</span>00015 <span class="comment"> 件及其源代码,或按照有偿或者无偿的方式发行基于 FishGUI 源代码的全部或部</span>00016 <span class="comment"> 分内容开发的软件产品,——但行使以上权利时,须遵守以下约定:</span>00017 <span class="comment"></span>00018 <span class="comment"> 1、重新发布 FishGUI 软件及其源代码时,不得隐去软件及其源代码中原有的版</span>00019 <span class="comment"> 权信息和开发者标识。</span>00020 <span class="comment"></span>00021 <span class="comment"> 2、发行基于 FishGUI 源代码的全部或部分内容开发的软件产品时,必须在产品</span>00022 <span class="comment"> 的显著位置标明以下字样:</span>00023 <span class="comment"></span>00024 <span class="comment"> 【本产品的一部分功能是基于王咏武在 FishGUI 软件中的工作完成的】</span>00025 <span class="comment"></span>00026 <span class="comment"> 3、在正式出版物中引用 FishGUI 的文档、源代码或注释内容的,应注明软件的</span>00027 <span class="comment"> 原作者为王咏武。</span>00028 <span class="comment"></span>00029 <span class="comment">--------------------------------------------------------------------------*/</span>00040 <span class="preprocessor">#include <stdio.h></span>00041 <span class="preprocessor">#include <string.h></span>00042 <span class="preprocessor">#include "<a class="code" href="Win2_8h.html">Win2.h</a>"</span>00043 <a name="l00044"></a><a class="code" href="classWin2.html#b2">00044</a> <a class="code" href="group__MsgMap__Define.html#ga1">BEGIN_MESSAGE_MAP</a>(<a class="code" href="classWin2.html">Win2</a>, <a class="code" href="classFG__Window.html">FG_Window</a>)00045 <a class="code" href="group__MsgMap__Define.html#ga13">ON_ID_NOTIFY</a> (FBN_PRESSED, ID_OK, Win2::OnOK)00046 <a class="code" href="group__MsgMap__Define.html#ga13">ON_ID_NOTIFY</a> (FBN_PRESSED, ID_CANCEL, Win2::OnCancel)00047 <a class="code" href="group__MsgMap__Define.html#ga15">END_MESSAGE_MAP</a>()00048 00049 00056 <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="structFG__Rect.html">FG_Rect</a> <a class="code" href="group__Win2__Rect.html#ga0">RECT_Win2</a>(60, 300, 420, 520);00057 00058 <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="structFG__Rect.html">FG_Rect</a> <a class="code" href="group__Win2__Rect.html#ga1">RECT_Group1</a>(72, 330, 200, 505);00059 <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="structFG__Rect.html">FG_Rect</a> <a class="code" href="group__Win2__Rect.html#ga2">RECT_Radio1</a>(100, 350, 190, 370);00060 <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="structFG__Rect.html">FG_Rect</a> <a class="code" href="group__Win2__Rect.html#ga3">RECT_Radio2</a>(100, 374, 190, 394);00061 <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="structFG__Rect.html">FG_Rect</a> <a class="code" href="group__Win2__Rect.html#ga4">RECT_Radio3</a>(100, 398, 190, 418);00062 <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="structFG__Rect.html">FG_Rect</a> <a class="code" href="group__Win2__Rect.html#ga5">RECT_Radio4</a>(100, 422, 190, 442);00063 <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="structFG__Rect.html">FG_Rect</a> <a class="code" href="group__Win2__Rect.html#ga6">RECT_Radio5</a>(100, 446, 190, 466);00064 <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="structFG__Rect.html">FG_Rect</a> <a class="code" href="group__Win2__Rect.html#ga7">RECT_Radio6</a>(100, 470, 190, 490);00065 00066 <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="structFG__Rect.html">FG_Rect</a> <a class="code" href="group__Win2__Rect.html#ga8">RECT_Group2</a>(210, 330, 330, 505);00067 <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="structFG__Rect.html">FG_Rect</a> <a class="code" href="group__Win2__Rect.html#ga9">RECT_Check1</a>(230, 350, 320, 370);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -