📄 newtoolbar_8h.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.h File Reference</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><div class="nav"><a class="el" href="dir_000003.htm">include</a> / <a class="el" href="dir_000004.htm">ctrl</a></div><h1>newtoolbar.h File Reference</h1><p><a href="newtoolbar_8h-source.htm">Go to the source code of this file.</a><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="group__ctrl__newtoolbar.htm#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="group__ctrl__newtoolbar.htm#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="group__ctrl__newtoolbar.htm#ga14"></a><br></dl><li>#define <a class="el" href="group__ctrl__newtoolbar__styles.htm#ga0">NTBS_WITHTEXT</a> 0x000000001L<dl class="el"><dd class="mdescRight">Displays text with the item bitmap. <a href="group__ctrl__newtoolbar__styles.htm#ga0"></a><br></dl><li>#define <a class="el" href="group__ctrl__newtoolbar__styles.htm#ga1">NTBS_TEXTRIGHT</a> 0x000000002L<dl class="el"><dd class="mdescRight">Displays text at the right side of the item bitmap. <a href="group__ctrl__newtoolbar__styles.htm#ga1"></a><br></dl><li>#define <a class="el" href="group__ctrl__newtoolbar__styles.htm#ga2">NTBS_DRAWSTATES</a> 0x000000004L<dl class="el"><dd class="mdescRight">Draws the button states with 3D frame, and does not use the highlight, pushed and disabled bitmap cell. <a href="group__ctrl__newtoolbar__styles.htm#ga2"></a><br></dl><li>#define <a class="el" href="group__ctrl__newtoolbar__styles.htm#ga3">NTBS_DRAWSEPARATOR</a> 0x000000008L<dl class="el"><dd class="mdescRight">Draws the separator bar. <a href="group__ctrl__newtoolbar__styles.htm#ga3"></a><br></dl><li>#define <a class="el" href="group__ctrl__newtoolbar__styles.htm#ga4">NTBS_HORIZONTAL</a> 0x00000000L<dl class="el"><dd class="mdescRight">The NewToolbar will be displayed horizontally. <a href="group__ctrl__newtoolbar__styles.htm#ga4"></a><br></dl><li>#define <a class="el" href="group__ctrl__newtoolbar__styles.htm#ga5">NTBS_VERTICAL</a> 0x00000010L<dl class="el"><dd class="mdescRight">The NewToolbar will be displayed vertically. <a href="group__ctrl__newtoolbar__styles.htm#ga5"></a><br></dl><li>#define <a class="el" href="group__ctrl__newtoolbar__styles.htm#ga6">NTBS_MULTLINE</a> 0x00000020L<dl class="el"><dd class="mdescRight">The Newtoolbar item will be displayed in several lines. In this style , your should define the toolbar RECT in CreateWindwEx. <a href="group__ctrl__newtoolbar__styles.htm#ga6"></a><br></dl><li>#define <a class="el" href="group__ctrl__newtoolbar__msgs.htm#ga0">NTB_OKAY</a> 0<li>#define <a class="el" href="group__ctrl__newtoolbar__msgs.htm#ga1">NTB_ERR</a> (-1)<li>#define <a class="el" href="group__ctrl__newtoolbar__msgs.htm#ga2">NTB_ERR_SPACE</a> (-2)<li>#define <a class="el" href="group__ctrl__newtoolbar__msgs.htm#ga3">NTB_ERR_DUPID</a> (-3)<li>#define <a class="el" href="group__ctrl__newtoolbar__msgs.htm#ga4">NTBM_ADDITEM</a> 0xFE00<dl class="el"><dd class="mdescRight">Adds an item to a newtoolbar. <a href="group__ctrl__newtoolbar__msgs.htm#ga4"></a><br></dl><li>#define <a class="el" href="group__ctrl__newtoolbar__msgs.htm#ga5">NTBM_GETITEM</a> 0xFE01<dl class="el"><dd class="mdescRight">Retrives the information of an item in a newtoolbar control. <a href="group__ctrl__newtoolbar__msgs.htm#ga5"></a><br></dl><li>#define <a class="el" href="group__ctrl__newtoolbar__msgs.htm#ga6">NTBM_SETITEM</a> 0xFE02<dl class="el"><dd class="mdescRight">Sets the information of an item in a newtoolbar control. <a href="group__ctrl__newtoolbar__msgs.htm#ga6"></a><br></dl><li>#define <a class="el" href="group__ctrl__newtoolbar__msgs.htm#ga7">NTBM_ENABLEITEM</a> 0xFE03<dl class="el"><dd class="mdescRight">Enables/Disables an item in a newtoolbar control. <a href="group__ctrl__newtoolbar__msgs.htm#ga7"></a><br></dl><li>#define <a class="el" href="group__ctrl__newtoolbar__msgs.htm#ga8">NTBM_SETBITMAP</a> 0xFE04<dl class="el"><dd class="mdescRight">Sets the bitmap of a newtoolbar control. <a href="group__ctrl__newtoolbar__msgs.htm#ga8"></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="group__ctrl__newtoolbar.htm#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="group__ctrl__newtoolbar.htm#ga3"></a><br></dl></ul><hr><a name="_details"></a><h2>Detailed Description</h2><dl compact><dt><b>Author:</b></dt><dd>Wei Yongming <<a href="mailto:ymwei@minigui.org">ymwei@minigui.org</a>> </dd></dl><dl compact><dt><b>Date:</b></dt><dd>2001/12/29</dd></dl><div class="fragment"><pre class="fragment"> Copyright (C) 2002-2007 Feynman Software. Copyright (C) 1998-2002 Wei Yongming. All rights reserved by Feynman Software. This file is part of MiniGUI, a compact cross-platform Graphics User Interface (GUI) support system for real-time embedded systems. </pre></div> <p>Definition in file <a class="el" href="newtoolbar_8h-source.htm">newtoolbar.h</a>.<hr size="1"><address style="align: right;"><small>Generated on Thu Nov 22 15:35:51 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 + -