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

📄 group__init__fns.htm

📁 MINIGUI1.6开发API
💻 HTM
📖 第 1 页 / 共 2 页
字号:
          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;ReinitDesktopEx (TRUE)</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Re-initializes the desktop including the local system text. <p><dl compact><dt><b>Returns:</b></dt><dd>TRUE on success, otherwise FALSE.</dd></dl><dl compact><dt><b>Note:</b></dt><dd>This function defined as a macro calling <em>ReinitDesktopEx</em> with <em>init_sys_text</em> set to TRUE.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__init__fns.htm#ga4">ReinitDesktopEx</a> </dd></dl><p>Definition at line <a class="el" href="minigui_8h-source.htm#l01375">1375</a> of file <a class="el" href="minigui_8h-source.htm">minigui.h</a>.    </td>  </tr></table><hr><h2>Function Documentation</h2><a class="anchor" name="ga5" doxytag="minigui.h::ExitGUISafely"></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">void GUIAPI ExitGUISafely           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>exitcode</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>Exits your MiniGUI application safely. <p>Calling this function will terminate your MiniGUI application. This function will restore console attributes and call <em>exit()</em> function and pass <em>exitcode</em> to it.<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>exitcode</em>&nbsp;</td><td>The exit status will be passed to exit(3) function.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>This function will not return.</dd></dl><dl compact><dt><b>See also:</b></dt><dd>exit(3) </dd></dl>    </td>  </tr></table><a class="anchor" name="ga4" doxytag="minigui.h::ReinitDesktopEx"></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"><a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI ReinitDesktopEx           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="group__simple__types.htm#ga0">BOOL</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>init_sys_text</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>Re-initializes the desktop. <p>When you changed the charset or the background picture of the desktop, you should call this function to re-initialize the local system text (when <em>init_sys_text</em> is TRUE), the background picture, and the desktop menu.<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>init_sys_text</em>&nbsp;</td><td>Indicates whether to initialize the local system text.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>TRUE on success, otherwise FALSE.</dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__init__fns.htm#ga6">ReinitDesktop</a> </dd></dl>    </td>  </tr></table><hr><h2>Variable Documentation</h2><a class="anchor" name="ga3" doxytag="minigui.h::CustomDesktopCommand"></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">CustomizeDesktopCommandFunc <a class="el" href="group__init__fns.htm#ga3">CustomDesktopCommand</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>MiniGUI default desktop command function. <p><dl compact><dt><b>See also:</b></dt><dd>CustomizeDesktopCommandFunc </dd></dl>    </td>  </tr></table><a class="anchor" name="ga1" doxytag="minigui.h::CustomDesktopCommandFunc"></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">typedef int GUIAPI(* <a class="el" href="group__init__fns.htm#ga1">CustomDesktopCommandFunc</a>)(int id)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The function pointer of customizing desktop command function. <p>When user choose a custom menu item on desktop menu, MiniGUI will call this function, and pass the command ID of selected menu item.<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>id</em>&nbsp;</td><td>The command ID of menu item.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Default zero value. </dd></dl>    </td>  </tr></table><a class="anchor" name="ga2" doxytag="minigui.h::CustomizeDesktopMenu"></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"><a class="el" href="group__init__fns.htm#ga0">CustomizeDesktopMenuFunc</a> <a class="el" href="group__init__fns.htm#ga2">CustomizeDesktopMenu</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>MiniGUI default desktop menu function. <p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__init__fns.htm#ga0">CustomizeDesktopMenuFunc</a> </dd></dl>    </td>  </tr></table><a class="anchor" name="ga0" doxytag="minigui.h::CustomizeDesktopMenuFunc"></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">typedef void GUIAPI(* <a class="el" href="group__init__fns.htm#ga0">CustomizeDesktopMenuFunc</a>)(<a class="el" href="group__handles.htm#ga6">HMENU</a> hDesktopMenu, int iPos)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The function pointer of customizing desktop menu function. <p>When the user clicks right mouse button on desktop, MiniGUI will display a menu for user. You can use this function to customize the desktop menu. e.g. add a new menu item. Please use an integer larger than IDM_DTI_FIRST as the command ID.<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>hDesktopMenu</em>&nbsp;</td><td>The default menu handle. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>iPos</em>&nbsp;</td><td>The insertion position. </td></tr>  </table></dl>    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Thu Nov 22 15:35:54 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 + -