📄 group__ctrl__newtoolbar.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: 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 Page</a> | <a class="qindex" href="modules.htm">Modules</a> | <a class="qindex" href="classes.htm">Alphabetical List</a> | <a class="qindex" href="annotated.htm">Data Structures</a> | <a class="qindex" href="dirs.htm">Directories</a> | <a class="qindex" href="files.htm">File List</a> | <a class="qindex" href="functions.htm">Data Fields</a> | <a class="qindex" href="globals.htm">Globals</a> | <a class="qindex" href="pages.htm">Related Pages</a></div><h1>NewToolBar control<br><small>[<a class="el" href="group__controls.htm">Standard controls</a>]</small></h1><h2>Modules</h2><ul><li><a class="el" href="group__ctrl__newtoolbar__styles.htm">Styles of NewToolBar control</a><li><a class="el" href="group__ctrl__newtoolbar__msgs.htm">Messages of NewToolBar control</a></ul><h2>Data Structures</h2><ul><li>struct <a class="el" href="struct__NTBINFO.htm">_NTBINFO</a><li>struct <a class="el" href="struct__NTBITEMINFO.htm">_NTBITEMINFO</a></ul><h2>Defines</h2><ul><li>#define <a class="el" href="group__ctrl__newtoolbar.htm#ga4">CTRL_NEWTOOLBAR</a> ("newtoolbar")<dl class="el"><dd class="mdescRight">The class name of newtoolbar control. <a href="#ga4"></a><br></dl><li>#define <a class="el" href="group__ctrl__newtoolbar.htm#ga13">NTBIF_DISABLED</a> 0x0010<dl class="el"><dd class="mdescRight">The item is disabled. <a href="#ga13"></a><br></dl><li>#define <a class="el" href="group__ctrl__newtoolbar.htm#ga14">NTBIF_CHECKED</a> 0x0020<dl class="el"><dd class="mdescRight">The item is checked. <a href="#ga14"></a><br></dl></ul><h2>Typedefs</h2><ul><li>typedef <a class="el" href="struct__NTBINFO.htm">_NTBINFO</a> <a class="el" href="group__ctrl__newtoolbar.htm#ga0">NTBINFO</a><li>typedef void(* <a class="el" href="group__ctrl__newtoolbar.htm#ga1">HOTSPOTPROC</a> )(<a class="el" href="group__handles.htm#ga1">HWND</a> hwnd, int id, const <a class="el" href="struct__RECT.htm">RECT</a> *cell, int x, int y)<dl class="el"><dd class="mdescRight">Type of the hotspot-clicked callback procedure. <a href="#ga1"></a><br></dl><li>typedef <a class="el" href="struct__NTBITEMINFO.htm">_NTBITEMINFO</a> <a class="el" href="group__ctrl__newtoolbar.htm#ga2">NTBITEMINFO</a><li>typedef <a class="el" href="struct__NTBITEMINFO.htm">NTBITEMINFO</a> * <a class="el" href="group__ctrl__newtoolbar.htm#ga3">PNTBITEMINFO</a><dl class="el"><dd class="mdescRight">Data type of pointer to a NTBITEMINFO;. <a href="#ga3"></a><br></dl></ul><hr><a name="_details"></a><h2>Detailed Description</h2><dl compact><dt><b>Note:</b></dt><dd>You should pass information of the control through the argument <em>dwAddData</em> of <em>CreateWindowEx</em> function.</dd></dl><div class="fragment"><pre class="fragment"> <a class="code" href="struct__NTBINFO.htm">NTBINFO</a> ntb_info; <a class="code" href="group__control__fns.htm#ga1">CreateWindowEx</a> (<a class="code" href="group__ctrl__toolbar.htm#ga2">CTRL_TOOLBAR</a>, ..., (<a class="code" href="group__win32__types.htm#ga4">DWORD</a>) &ntb_info);</pre></div><p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__ctrl__newtoolbar.htm#ga0">NTBINFO</a> </dd></dl><hr><h2>Define Documentation</h2><a class="anchor" name="ga4" doxytag="newtoolbar.h::CTRL_NEWTOOLBAR"></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 CTRL_NEWTOOLBAR ("newtoolbar") </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The class name of newtoolbar control. <p><p>Definition at line <a class="el" href="newtoolbar_8h-source.htm#l00062">62</a> of file <a class="el" href="newtoolbar_8h-source.htm">newtoolbar.h</a>. </td> </tr></table><a class="anchor" name="ga14" doxytag="newtoolbar.h::NTBIF_CHECKED"></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 NTBIF_CHECKED 0x0020 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The item is checked. <p><p>Definition at line <a class="el" href="newtoolbar_8h-source.htm#l00134">134</a> of file <a class="el" href="newtoolbar_8h-source.htm">newtoolbar.h</a>. </td> </tr></table><a class="anchor" name="ga13" doxytag="newtoolbar.h::NTBIF_DISABLED"></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 NTBIF_DISABLED 0x0010 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The item is disabled. <p><p>Definition at line <a class="el" href="newtoolbar_8h-source.htm#l00129">129</a> of file <a class="el" href="newtoolbar_8h-source.htm">newtoolbar.h</a>. </td> </tr></table><hr><h2>Typedef Documentation</h2><a class="anchor" name="ga1" doxytag="newtoolbar.h::HOTSPOTPROC"></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(* <a class="el" href="group__ctrl__newtoolbar.htm#ga1">HOTSPOTPROC</a>)(<a class="el" href="group__handles.htm#ga1">HWND</a> hwnd, int id, const <a class="el" href="struct__RECT.htm">RECT</a> *cell, int x, int y) </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Type of the hotspot-clicked callback 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>hwnd</em> </td><td>The handle to the control. </td></tr> <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td>The identifier of the button in the NewToolBar control. </td></tr> <tr><td valign="top"></td><td valign="top"><em>cell</em> </td><td>The rectangle of the button in screen coordinates. </td></tr> <tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>The x-coordinate of the mouse down point. </td></tr> <tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>THe y-coordinate of the mouse down point. </td></tr> </table></dl><p>Definition at line <a class="el" href="newtoolbar_8h-source.htm#l00111">111</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::NTBINFO"></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 struct <a class="el" href="struct__NTBINFO.htm">_NTBINFO</a> <a class="el" href="struct__NTBINFO.htm">NTBINFO</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Structure of the newtoolbar control information </td> </tr></table><a class="anchor" name="ga2" doxytag="newtoolbar.h::NTBITEMINFO"></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 struct <a class="el" href="struct__NTBITEMINFO.htm">_NTBITEMINFO</a> <a class="el" href="struct__NTBITEMINFO.htm">NTBITEMINFO</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Structure of the new toolbar item info </td> </tr></table><a class="anchor" name="ga3" doxytag="newtoolbar.h::PNTBITEMINFO"></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="struct__NTBITEMINFO.htm">PNTBITEMINFO</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Data type of pointer to a NTBITEMINFO;. <p><p>Definition at line <a class="el" href="newtoolbar_8h-source.htm#l00206">206</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 <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 + -