📄 classfg__win32adaptor.html
字号:
<p>设置前一个应用程序的实例句柄. <p><dl compact><dt><b>参数:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>hPrevInst</em> </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#l00096">96</a>行定义。<p>参考 <a class="el" href="FG__Win32Adaptor_8h-source.html#l00132">m_hPrevInst</a>.<p>参考自 <a class="el" href="WinMain_8cpp-source.html#l00053">WinMain()</a>. </td> </tr></table><a class="anchor" name="f0" doxytag="FG_Win32Adaptor::WndProc" ></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"> long FAR WINAPI FG_Win32Adaptor::WndProc </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">HWND </td> <td class="mdname" nowrap> <em>hWnd</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>UINT </td> <td class="mdname" nowrap> <em>uMessage</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>UINT </td> <td class="mdname" nowrap> <em>wParam</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>LONG </td> <td class="mdname" nowrap> <em>lParam</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [static, protected]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Win32窗口函数. <p>必须静态函数,该函数接收系统消息,然后通过观查者模式发送给框架层 <dl compact><dt><b>参数:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>hWnd</em> </td><td>窗口句柄 </td></tr> <tr><td valign=top><em>uMessage</em> </td><td>消息类型 </td></tr> <tr><td valign=top><em>wParam</em> </td><td>消息参数 </td></tr> <tr><td valign=top><em>lParam</em> </td><td>消息参数 </td></tr> </table></dl><dl compact><dt><b>返回:</b></dt><dd>long 消息处理结果 </dd></dl><p>在文件<a class="el" href="FG__Win32Adaptor_8cpp-source.html">FG_Win32Adaptor.cpp</a>第<a class="el" href="FG__Win32Adaptor_8cpp-source.html#l00138">138</a>行定义。<p>参考 <a class="el" href="group__Utility.html#gga12a19">FG_MSG_DRAW</a>、<a class="el" href="group__Utility.html#gga12a20">FG_MSG_KEY</a>、<a class="el" href="group__Utility.html#gga12a21">FG_MSG_MOUSE</a>、<a class="el" href="group__Utility.html#gga12a22">FG_MSG_TIMER</a>、<a class="el" href="group__Utility.html#gga13a29">FKS_DOWN</a>、<a class="el" href="group__Utility.html#gga13a30">FKS_UP</a>、<a class="el" href="group__Utility.html#gga14a32">FMS_LBUTTONDOWN</a>、<a class="el" href="group__Utility.html#gga14a33">FMS_LBUTTONUP</a>、<a class="el" href="FG__Message_8h-source.html#l00102">FVK_DELETE</a>、<a class="el" href="FG__Message_8h-source.html#l00101">FVK_ENTER</a>、<a class="el" href="FG__Message_8h-source.html#l00103">FVK_LEFT</a>、<a class="el" href="FG__Message_8h-source.html#l00104">FVK_RIGHT</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__Message_8h-source.html#l00201">FG_Message::Point</a>、<a class="el" href="FG__OSAdaptor_8cpp-source.html#l00106">FG_OSAdaptor::SendMsg()</a>、<a class="el" href="FG__Common_8h-source.html#l00055">WORD</a>、<a class="el" href="FG__Point_8h-source.html#l00051">FG_Point::x</a>及<a class="el" href="FG__Point_8h-source.html#l00053">FG_Point::y</a>.<p>参考自 <a class="el" href="FG__Win32Adaptor_8cpp-source.html#l00054">InitInstance()</a>. </td> </tr></table><p>Here is the call graph for this function:<p><center><img src="classFG__Win32Adaptor_f0_cgraph.png" border="0" usemap="#classFG__Win32Adaptor_f0_cgraph_map" alt=""></center><map name="classFG__Win32Adaptor_f0_cgraph_map"><area href="classFG__OSAdaptor.html#a2" shape="rect" coords="244,7,404,33" alt=""></map><hr><h2>友元及相关函数文档</h2><a class="anchor" name="n0" doxytag="FG_Win32Adaptor::FG_OSAdaptor" ></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"> friend class <a class="el" href="classFG__OSAdaptor.html">FG_OSAdaptor</a><code> [friend]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p><p>在文件<a class="el" href="FG__Win32Adaptor_8h-source.html">FG_Win32Adaptor.h</a>第<a class="el" href="FG__Win32Adaptor_8h-source.html#l00124">124</a>行定义。 </td> </tr></table><hr><h2>成员数据文档</h2><a class="anchor" name="p3" doxytag="FG_Win32Adaptor::m_BmpPath" ></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"> char <a class="el" href="classFG__Win32Adaptor.html#p3">FG_Win32Adaptor::m_BmpPath</a>[MAX_PATH + 1]<code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>位图文件所在目录的绝对路径. <p><p>在文件<a class="el" href="FG__Win32Adaptor_8h-source.html">FG_Win32Adaptor.h</a>第<a class="el" href="FG__Win32Adaptor_8h-source.html#l00138">138</a>行定义。<p>参考自 <a class="el" href="FG__Win32Adaptor_8cpp-source.html#l00130">DrawBitmap()</a>及<a class="el" href="FG__Win32Adaptor_8cpp-source.html#l00122">SetBmpPath()</a>. </td> </tr></table><a class="anchor" name="p0" doxytag="FG_Win32Adaptor::m_hInst" ></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"> HINSTANCE <a class="el" href="classFG__Win32Adaptor.html#p0">FG_Win32Adaptor::m_hInst</a><code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>当前应用程序的实例句柄 <p>< <p>在文件<a class="el" href="FG__Win32Adaptor_8h-source.html">FG_Win32Adaptor.h</a>第<a class="el" href="FG__Win32Adaptor_8h-source.html#l00132">132</a>行定义。<p>参考自 <a class="el" href="FG__Win32Adaptor_8h-source.html#l00128">FG_Win32Adaptor()</a>、<a class="el" href="FG__Win32Adaptor_8cpp-source.html#l00054">InitInstance()</a>及<a class="el" href="FG__Win32Adaptor_8h-source.html#l00089">SetInst()</a>. </td> </tr></table><a class="anchor" name="p1" doxytag="FG_Win32Adaptor::m_hPrevInst" ></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"> HINSTANCE <a class="el" href="classFG__Win32Adaptor.html#p1">FG_Win32Adaptor::m_hPrevInst</a><code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>当前应用程序的实例句柄 前一个应用程序的实例句柄 <p><p>在文件<a class="el" href="FG__Win32Adaptor_8h-source.html">FG_Win32Adaptor.h</a>第<a class="el" href="FG__Win32Adaptor_8h-source.html#l00132">132</a>行定义。<p>参考自 <a class="el" href="FG__Win32Adaptor_8h-source.html#l00128">FG_Win32Adaptor()</a>、<a class="el" href="FG__Win32Adaptor_8cpp-source.html#l00054">InitInstance()</a>及<a class="el" href="FG__Win32Adaptor_8h-source.html#l00096">SetPrevInst()</a>. </td> </tr></table><a class="anchor" name="p2" doxytag="FG_Win32Adaptor::m_nCmdShow" ></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"> int <a class="el" href="classFG__Win32Adaptor.html#p2">FG_Win32Adaptor::m_nCmdShow</a><code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>窗口的显示方式 <p><p>在文件<a class="el" href="FG__Win32Adaptor_8h-source.html">FG_Win32Adaptor.h</a>第<a class="el" href="FG__Win32Adaptor_8h-source.html#l00135">135</a>行定义。<p>参考自 <a class="el" href="FG__Win32Adaptor_8h-source.html#l00128">FG_Win32Adaptor()</a>、<a class="el" href="FG__Win32Adaptor_8cpp-source.html#l00054">InitInstance()</a>及<a class="el" href="FG__Win32Adaptor_8h-source.html#l00103">SetCmdShow()</a>. </td> </tr></table><hr>该类的文档由以下文件生成:<ul><li><a class="el" href="FG__Win32Adaptor_8h-source.html">FG_Win32Adaptor.h</a><li><a class="el" href="FG__Win32Adaptor_8cpp-source.html">FG_Win32Adaptor.cpp</a></ul><hr><center>由 DoxyGen 1.3.6 于 Wed Jun 9 22:38:01 2004 生成<br>版权所有 (C) 2003,2004 王咏武</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -