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

📄 classfg__win32adaptor.html

📁 《道法自然》书的源码FishGUI,一个跨平台的界面库
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>程序退出 <p>发送<a class="el" href="group__Utility.html#gga12a18">FG_MSG_HALT</a>消息,释放对象 <dl compact><dt><b>返回:</b></dt><dd>退出是否成功<br> true 成功<br> false 失败 </dd></dl><p>Implements <a class="el" href="classFG__OSAdaptor.html#b2">FG_OSAdaptor</a>.<p>在文件<a class="el" href="FG__Win32Adaptor_8cpp-source.html">FG_Win32Adaptor.cpp</a>第<a class="el" href="FG__Win32Adaptor_8cpp-source.html#l00096">96</a>行定义。<p>参考 <a class="el" href="group__Utility.html#gga12a18">FG_MSG_HALT</a>及<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00106">FG_OSAdaptor::SendMsg()</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Win32Adaptor_a1_cgraph.png" border="0" usemap="#classFG__Win32Adaptor_a1_cgraph_map" alt=""></center><map name="classFG__Win32Adaptor_a1_cgraph_map"><area href="classFG__OSAdaptor.html#a2" shape="rect" coords="260,7,420,33" alt=""></map><a class="anchor" name="a0" doxytag="FG_Win32Adaptor::InitInstance" ></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_Win32Adaptor::InitInstance </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>程序初始化 <p>调用Win32函数注册窗口类,创建窗口,刷新窗口<br> 发送<a class="el" href="group__Utility.html#gga12a17">FG_MSG_STARTUP</a>消息 <dl compact><dt><b>返回:</b></dt><dd>初始化是否成功<br> true 成功<br> false 失败 </dd></dl><p>Implements <a class="el" href="classFG__OSAdaptor.html#b1">FG_OSAdaptor</a>.<p>在文件<a class="el" href="FG__Win32Adaptor_8cpp-source.html">FG_Win32Adaptor.cpp</a>第<a class="el" href="FG__Win32Adaptor_8cpp-source.html#l00054">54</a>行定义。<p>参考 <a class="el" href="group__Utility.html#gga12a17">FG_MSG_STARTUP</a>、<a class="el" href="FG__Win32Adaptor_8h-source.html#l00132">m_hInst</a>、<a class="el" href="FG__Win32Adaptor_8h-source.html#l00132">m_hPrevInst</a>、<a class="el" href="FG__Win32Adaptor_8h-source.html#l00135">m_nCmdShow</a>、<a class="el" href="FG__Common_8h-source.html#l00046">NULL</a>、<a class="el" href="FG__Common_8h-source.html#l00062">SCREEN_HEIGHT</a>、<a class="el" href="FG__Common_8h-source.html#l00061">SCREEN_WIDTH</a>、<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00106">FG_OSAdaptor::SendMsg()</a>及<a class="el" href="FG__Win32Adaptor_8cpp-source.html#l00138">WndProc()</a>.    </td>  </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Win32Adaptor_a0_cgraph.png" border="0" usemap="#classFG__Win32Adaptor_a0_cgraph_map" alt=""></center><map name="classFG__Win32Adaptor_a0_cgraph_map"><area href="classFG__OSAdaptor.html#a2" shape="rect" coords="481,32,641,58" alt=""><area href="classFG__Win32Adaptor.html#f0" shape="rect" coords="256,57,432,84" alt=""></map><a class="anchor" name="a6" doxytag="FG_Win32Adaptor::SetBmpPath" ></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_Win32Adaptor::SetBmpPath </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">char *&nbsp;</td>          <td class="mdname" nowrap> <em>pPath</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>len</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>设置位图文件所在目录的绝对路径. <p><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>pPath</em>&nbsp;</td><td>FishGUI主目录的绝对路径,通过GetModuleFileName函数调用得到 </td></tr>    <tr><td valign=top><em>len</em>&nbsp;</td><td>字符串pPath的长度,字符串不保证有0结束符 </td></tr>  </table></dl><p>在文件<a class="el" href="FG__Win32Adaptor_8cpp-source.html">FG_Win32Adaptor.cpp</a>第<a class="el" href="FG__Win32Adaptor_8cpp-source.html#l00122">122</a>行定义。<p>参考 <a class="el" href="FG__Win32Adaptor_8h-source.html#l00138">m_BmpPath</a>.<p>参考自 <a class="el" href="WinMain_8cpp-source.html#l00053">WinMain()</a>.    </td>  </tr></table><a class="anchor" name="a5" doxytag="FG_Win32Adaptor::SetCmdShow" ></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_Win32Adaptor::SetCmdShow </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>nCmdShow</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>设置窗口的显示方式. <p><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>nCmdShow</em>&nbsp;</td><td>窗口的显示方式 </td></tr>  </table></dl><p>在文件<a class="el" href="FG__Win32Adaptor_8h-source.html">FG_Win32Adaptor.h</a>第<a class="el" href="FG__Win32Adaptor_8h-source.html#l00103">103</a>行定义。<p>参考 <a class="el" href="FG__Win32Adaptor_8h-source.html#l00135">m_nCmdShow</a>.<p>参考自 <a class="el" href="WinMain_8cpp-source.html#l00053">WinMain()</a>.    </td>  </tr></table><a class="anchor" name="a3" doxytag="FG_Win32Adaptor::SetInst" ></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_Win32Adaptor::SetInst </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">HINSTANCE&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>hInst</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>设置当前应用程序的实例句柄. <p><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>hInst</em>&nbsp;</td><td>当前应用程序的实例句柄 </td></tr>  </table></dl><p>在文件<a class="el" href="FG__Win32Adaptor_8h-source.html">FG_Win32Adaptor.h</a>第<a class="el" href="FG__Win32Adaptor_8h-source.html#l00089">89</a>行定义。<p>参考 <a class="el" href="FG__Win32Adaptor_8h-source.html#l00132">m_hInst</a>.<p>参考自 <a class="el" href="WinMain_8cpp-source.html#l00053">WinMain()</a>.    </td>  </tr></table><a class="anchor" name="a4" doxytag="FG_Win32Adaptor::SetPrevInst" ></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_Win32Adaptor::SetPrevInst </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">HINSTANCE&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>hPrevInst</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td>

⌨️ 快捷键说明

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