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

📄 group__ctrl__newtoolbar__msgs.htm

📁 MINIGUI1.6开发API
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>MiniGUI V1.6.10 API Reference: Messages of NewToolBar control</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.2 --><div class="qindex"><a class="qindex" href="index.htm">Main&nbsp;Page</a> | <a class="qindex" href="modules.htm">Modules</a> | <a class="qindex" href="classes.htm">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.htm">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.htm">Directories</a> | <a class="qindex" href="files.htm">File&nbsp;List</a> | <a class="qindex" href="functions.htm">Data&nbsp;Fields</a> | <a class="qindex" href="globals.htm">Globals</a> | <a class="qindex" href="pages.htm">Related&nbsp;Pages</a></div><h1>Messages of NewToolBar control<br><small>[<a class="el" href="group__ctrl__newtoolbar.htm">NewToolBar control</a>]</small></h1><h2>Defines</h2><ul><li>#define <a class="el" href="group__ctrl__newtoolbar__msgs.htm#ga0">NTB_OKAY</a>&nbsp;&nbsp;&nbsp;0<li>#define <a class="el" href="group__ctrl__newtoolbar__msgs.htm#ga1">NTB_ERR</a>&nbsp;&nbsp;&nbsp;(-1)<li>#define <a class="el" href="group__ctrl__newtoolbar__msgs.htm#ga2">NTB_ERR_SPACE</a>&nbsp;&nbsp;&nbsp;(-2)<li>#define <a class="el" href="group__ctrl__newtoolbar__msgs.htm#ga3">NTB_ERR_DUPID</a>&nbsp;&nbsp;&nbsp;(-3)<li>#define <a class="el" href="group__ctrl__newtoolbar__msgs.htm#ga4">NTBM_ADDITEM</a>&nbsp;&nbsp;&nbsp;0xFE00<dl class="el"><dd class="mdescRight">Adds an item to a newtoolbar.  <a href="#ga4"></a><br></dl><li>#define <a class="el" href="group__ctrl__newtoolbar__msgs.htm#ga5">NTBM_GETITEM</a>&nbsp;&nbsp;&nbsp;0xFE01<dl class="el"><dd class="mdescRight">Retrives the information of an item in a newtoolbar control.  <a href="#ga5"></a><br></dl><li>#define <a class="el" href="group__ctrl__newtoolbar__msgs.htm#ga6">NTBM_SETITEM</a>&nbsp;&nbsp;&nbsp;0xFE02<dl class="el"><dd class="mdescRight">Sets the information of an item in a newtoolbar control.  <a href="#ga6"></a><br></dl><li>#define <a class="el" href="group__ctrl__newtoolbar__msgs.htm#ga7">NTBM_ENABLEITEM</a>&nbsp;&nbsp;&nbsp;0xFE03<dl class="el"><dd class="mdescRight">Enables/Disables an item in a newtoolbar control.  <a href="#ga7"></a><br></dl><li>#define <a class="el" href="group__ctrl__newtoolbar__msgs.htm#ga8">NTBM_SETBITMAP</a>&nbsp;&nbsp;&nbsp;0xFE04<dl class="el"><dd class="mdescRight">Sets the bitmap of a newtoolbar control.  <a href="#ga8"></a><br></dl></ul><hr><h2>Define Documentation</h2><a class="anchor" name="ga1" doxytag="newtoolbar.h::NTB_ERR"></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">#define NTB_ERR&nbsp;&nbsp;&nbsp;(-1)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Newtoolbar return value <p>Definition at line <a class="el" href="newtoolbar_8h-source.htm#l00267">267</a> of file <a class="el" href="newtoolbar_8h-source.htm">newtoolbar.h</a>.    </td>  </tr></table><a class="anchor" name="ga3" doxytag="newtoolbar.h::NTB_ERR_DUPID"></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">#define NTB_ERR_DUPID&nbsp;&nbsp;&nbsp;(-3)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Newtoolbar return value <p>Definition at line <a class="el" href="newtoolbar_8h-source.htm#l00271">271</a> of file <a class="el" href="newtoolbar_8h-source.htm">newtoolbar.h</a>.    </td>  </tr></table><a class="anchor" name="ga2" doxytag="newtoolbar.h::NTB_ERR_SPACE"></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">#define NTB_ERR_SPACE&nbsp;&nbsp;&nbsp;(-2)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Newtoolbar return value <p>Definition at line <a class="el" href="newtoolbar_8h-source.htm#l00269">269</a> of file <a class="el" href="newtoolbar_8h-source.htm">newtoolbar.h</a>.    </td>  </tr></table><a class="anchor" name="ga0" doxytag="newtoolbar.h::NTB_OKAY"></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">#define NTB_OKAY&nbsp;&nbsp;&nbsp;0          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Newtoolbar return value <p>Definition at line <a class="el" href="newtoolbar_8h-source.htm#l00265">265</a> of file <a class="el" href="newtoolbar_8h-source.htm">newtoolbar.h</a>.    </td>  </tr></table><a class="anchor" name="ga4" doxytag="newtoolbar.h::NTBM_ADDITEM"></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">#define NTBM_ADDITEM&nbsp;&nbsp;&nbsp;0xFE00          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Adds an item to a newtoolbar. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__toolbar__msgs.htm#ga0">TBM_ADDITEM</a> <a class="code" href="struct__NTBITEMINFO.htm">NTBITEMINFO</a> *ntbii; wParam = 0; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)ntbii;</pre></div><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>ntbii</em>&nbsp;</td><td>Pointer to the data storing the newtoobar item info.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>NTB_OKAY on success, else one of the following values:<ul><li>NTB_ERR_SPACE<br> No enongh space to allocate memory for new item.</li><li>NTB_ERR_DUPID<br> Duplicated identifier with an existed item. </li></ul></dd></dl><p>Definition at line <a class="el" href="newtoolbar_8h-source.htm#l00291">291</a> of file <a class="el" href="newtoolbar_8h-source.htm">newtoolbar.h</a>.    </td>  </tr></table><a class="anchor" name="ga7" doxytag="newtoolbar.h::NTBM_ENABLEITEM"></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">#define NTBM_ENABLEITEM&nbsp;&nbsp;&nbsp;0xFE03          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Enables/Disables an item in a newtoolbar control. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__newtoolbar__msgs.htm#ga7">NTBM_ENABLEITEM</a> <span class="keywordtype">int</span> id; <a class="code" href="group__simple__types.htm#ga0">BOOL</a> enable; wParam = id; lParam = enable;</pre></div><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 identifier of the item. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>enable</em>&nbsp;</td><td>True to enable item; false to disable item.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>NTB_OKAY on success, else NTB_ERR. </dd></dl><p>Definition at line <a class="el" href="newtoolbar_8h-source.htm#l00351">351</a> of file <a class="el" href="newtoolbar_8h-source.htm">newtoolbar.h</a>.    </td>  </tr></table><a class="anchor" name="ga5" doxytag="newtoolbar.h::NTBM_GETITEM"></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">#define NTBM_GETITEM&nbsp;&nbsp;&nbsp;0xFE01          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Retrives the information of an item in a newtoolbar control. <p><div class="fragment"><pre class="fragment"> TBM_GETITEM <span class="keywordtype">int</span> id; <a class="code" href="struct__NTBITEMINFO.htm">NTBITEMINFO</a> *ntbii; wParam = id; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)ntbii;</pre></div><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 identifier of the item. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>ntbii</em>&nbsp;</td><td>Pointer to the data storing the newtoobar item info.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>NTB_OKAY on success, else NTB_ERR. </dd></dl><p>Definition at line <a class="el" href="newtoolbar_8h-source.htm#l00311">311</a> of file <a class="el" href="newtoolbar_8h-source.htm">newtoolbar.h</a>.    </td>  </tr></table><a class="anchor" name="ga8" doxytag="newtoolbar.h::NTBM_SETBITMAP"></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">#define NTBM_SETBITMAP&nbsp;&nbsp;&nbsp;0xFE04          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Sets the bitmap of a newtoolbar control. <p><div class="fragment"><pre class="fragment"> <a class="code" href="group__ctrl__newtoolbar__msgs.htm#ga8">NTBM_SETBITMAP</a> <a class="code" href="struct__NTBINFO.htm">NTBINFO</a> ntbi; wParam = 0; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)&amp;ntbi;</pre></div><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>ntbi</em>&nbsp;</td><td>The structure for storing the newtoobar info.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>NTB_OKAY on success, else NTB_ERR. </dd></dl><p>Definition at line <a class="el" href="newtoolbar_8h-source.htm#l00369">369</a> of file <a class="el" href="newtoolbar_8h-source.htm">newtoolbar.h</a>.    </td>  </tr></table><a class="anchor" name="ga6" doxytag="newtoolbar.h::NTBM_SETITEM"></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">#define NTBM_SETITEM&nbsp;&nbsp;&nbsp;0xFE02          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Sets the information of an item in a newtoolbar control. <p><div class="fragment"><pre class="fragment"> TBM_SETITEM <span class="keywordtype">int</span> id; <a class="code" href="struct__NTBITEMINFO.htm">NTBITEMINFO</a> ntbii; wParam = id; lParam = (<a class="code" href="group__win32__types.htm#ga9">LPARAM</a>)&amp;ntbii;</pre></div><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 identifier of the item. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>ntbii</em>&nbsp;</td><td>The structure for storing the newtoobar item info.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>NTB_OKAY on success, else NTB_ERR. </dd></dl><p>Definition at line <a class="el" href="newtoolbar_8h-source.htm#l00331">331</a> of file <a class="el" href="newtoolbar_8h-source.htm">newtoolbar.h</a>.    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Thu Nov 22 15:35:53 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 + -