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

📄 group__accel__fns.htm

📁 MINIGUI1.6开发API
💻 HTM
📖 第 1 页 / 共 2 页
字号:
This function creates an empty accelerator table.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>hWnd</em>&nbsp;</td><td>The handle to the main window. </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>The handle to the new accelerator table, zero when error.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__accel__fns.htm#ga2">AddAccelerators</a>, <a class="el" href="group__accel__fns.htm#ga3">DestroyAcceleratorTable</a> </dd></dl>    </td>  </tr></table><a class="anchor" name="ga1" doxytag="window.h::DeleteAccelerators"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">int GUIAPI DeleteAccelerators           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="group__handles.htm#ga7">HACCEL</a>&nbsp;</td>          <td class="mdname" nowrap> <em>hacc</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>key</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="group__win32__types.htm#ga4">DWORD</a>&nbsp;</td>          <td class="mdname" nowrap> <em>keymask</em></td>        </tr>        <tr>          <td class="md"></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>Deletes an accelerator from the accelerator table. <p>This function deletes an accelerator from the accelerator table.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>hacc</em>&nbsp;</td><td>The handle to the accelerator table. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>key</em>&nbsp;</td><td>The key value of the accelerator. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>keymask</em>&nbsp;</td><td>The shift key state. </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>The function returns 0 for success, non-zero for failure.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__accel__fns.htm#ga2">AddAccelerators</a>, <a class="el" href="group__accel__fns.htm#ga3">DestroyAcceleratorTable</a> </dd></dl>    </td>  </tr></table><a class="anchor" name="ga3" doxytag="window.h::DestroyAcceleratorTable"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">int GUIAPI DestroyAcceleratorTable           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="group__handles.htm#ga7">HACCEL</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>hacc</em>          </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>Destroys an accelerator table. <p>This function destroys the specified accelerator table <em>hacc</em>. Before closing a window, you must call this function to destroy each accelerator table that is created by using <em>CreateAcceleratorTable</em> function.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>hacc</em>&nbsp;</td><td>The handle to the accelerator table. </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>The function returns 0 for success, non-zero for failure.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__accel__fns.htm#ga4">CreateAcceleratorTable</a> </dd></dl>    </td>  </tr></table><a class="anchor" name="ga5" doxytag="window.h::TranslateAccelerator"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">int GUIAPI TranslateAccelerator           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="group__handles.htm#ga7">HACCEL</a>&nbsp;</td>          <td class="mdname" nowrap> <em>hAccel</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="struct__MSG.htm">PMSG</a>&nbsp;</td>          <td class="mdname" nowrap> <em>pMsg</em></td>        </tr>        <tr>          <td class="md"></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>Translates an accelerator key message to MSG_COMMAND messge and sends it to the window procedure. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>hAccel</em>&nbsp;</td><td>The handle to the accelerator table. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>pMsg</em>&nbsp;</td><td>The pointer to the MSG structure to be translated. </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>The function returns 0 for success, non-zero for failure.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__msg__pass__fns.htm#ga17">TranslateMessage</a> </dd></dl>    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Thu Nov 22 15:35:55 2007 for MiniGUI V1.6.10 API Reference by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="http://www.minigui.com/api_ref/1.6.10/doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address></body></html>

⌨️ 快捷键说明

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