📄 treeview_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: treeview.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_000000.htm">ext</a> / <a class="el" href="dir_000001.htm">include</a> / <a class="el" href="dir_000002.htm">ext</a></div><h1>treeview.h File Reference</h1><p><a href="treeview_8h-source.htm">Go to the source code of this file.</a><h2>Defines</h2><ul><li>#define <a class="el" href="group__mgext__ctrl__treeview.htm#ga2">CTRL_TREEVIEW</a> ("TreeView")<dl class="el"><dd class="mdescRight">The class name of treeview control. <a href="group__mgext__ctrl__treeview.htm#ga2"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__styles.htm#ga0">TVS_NOTIFY</a> 0x0001L<dl class="el"><dd class="mdescRight">Sends the parent window notification messages when the user clicks or double-clicks the control. <a href="group__mgext__ctrl__treeview__styles.htm#ga0"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__styles.htm#ga1">TVS_WITHICON</a> 0x0002L<dl class="el"><dd class="mdescRight">The treeview item will use icons to indicate folded or unfolded status. <a href="group__mgext__ctrl__treeview__styles.htm#ga1"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__styles.htm#ga2">TVS_ICONFORSELECT</a> 0x0004L<dl class="el"><dd class="mdescRight">The fold icon is used to indicate selected item. <a href="group__mgext__ctrl__treeview__styles.htm#ga2"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__styles.htm#ga4">TVS_SORT</a> 0x0010L<dl class="el"><dd class="mdescRight">Enables sorting in the treeview. <a href="group__mgext__ctrl__treeview__styles.htm#ga4"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__msgs.htm#ga0">TVM_ADDITEM</a> 0xF110<dl class="el"><dd class="mdescRight">Adds a new item in a treeview control. <a href="group__mgext__ctrl__treeview__msgs.htm#ga0"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__msgs.htm#ga1">TVM_INSERTITEM</a> 0xF111<dl class="el"><dd class="mdescRight">The same as TVM_ADDITEM message. <a href="group__mgext__ctrl__treeview__msgs.htm#ga1"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__msgs.htm#ga2">TVM_GETROOT</a> 0xF112<dl class="el"><dd class="mdescRight">Gets the root item of a treeview control. <a href="group__mgext__ctrl__treeview__msgs.htm#ga2"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__msgs.htm#ga3">TVM_DELTREE</a> 0xF113<dl class="el"><dd class="mdescRight">Removes an item and its descendant items for the treeview control. <a href="group__mgext__ctrl__treeview__msgs.htm#ga3"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__msgs.htm#ga4">TVM_SEARCHITEM</a> 0xF114<dl class="el"><dd class="mdescRight">Searches an item matching a specified string in a subtree rooted by a specific item. <a href="group__mgext__ctrl__treeview__msgs.htm#ga4"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__msgs.htm#ga5">TVM_FINDCHILD</a> 0xF115<dl class="el"><dd class="mdescRight">Finds a child item matching a specified string in children of a specific item. <a href="group__mgext__ctrl__treeview__msgs.htm#ga5"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__msgs.htm#ga6">TVM_GETSELITEM</a> 0xF116<dl class="el"><dd class="mdescRight">Gets the selected item. <a href="group__mgext__ctrl__treeview__msgs.htm#ga6"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__msgs.htm#ga7">TVM_SETSELITEM</a> 0xF117<dl class="el"><dd class="mdescRight">Sets the selected item. <a href="group__mgext__ctrl__treeview__msgs.htm#ga7"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__msgs.htm#ga8">TVM_GETITEMTEXTLEN</a> 0xF118<dl class="el"><dd class="mdescRight">Retrives the text length of the specified item in TreeView control. <a href="group__mgext__ctrl__treeview__msgs.htm#ga8"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__msgs.htm#ga9">TVM_GETITEMTEXT</a> 0xF119<dl class="el"><dd class="mdescRight">Retrives the text of the specified item in TreeView control. <a href="group__mgext__ctrl__treeview__msgs.htm#ga9"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__msgs.htm#ga10">TVM_GETITEMINFO</a> 0xF11A<dl class="el"><dd class="mdescRight">Retrives the information of an item in TreeView control. <a href="group__mgext__ctrl__treeview__msgs.htm#ga10"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__msgs.htm#ga11">TVM_SETITEMINFO</a> 0xF11B<dl class="el"><dd class="mdescRight">Changes the information of an item. <a href="group__mgext__ctrl__treeview__msgs.htm#ga11"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__msgs.htm#ga16">TVM_GETRELATEDITEM</a> 0xF11C<dl class="el"><dd class="mdescRight">Retrives related item of specific item. <a href="group__mgext__ctrl__treeview__msgs.htm#ga16"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__msgs.htm#ga17">TVM_SETSTRCMPFUNC</a> 0xF11D<dl class="el"><dd class="mdescRight">Sets the STRCMP function used to sort items. <a href="group__mgext__ctrl__treeview__msgs.htm#ga17"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__ncs.htm#ga0">TVN_ERRSPACE</a> 255<dl class="el"><dd class="mdescRight">Indicates that memory is not enough. <a href="group__mgext__ctrl__treeview__ncs.htm#ga0"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__ncs.htm#ga1">TVN_SELCHANGE</a> 1<dl class="el"><dd class="mdescRight">Notifies the change of selection. <a href="group__mgext__ctrl__treeview__ncs.htm#ga1"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__ncs.htm#ga2">TVN_DBLCLK</a> 2<dl class="el"><dd class="mdescRight">Notifies the user has double-clicked an item. <a href="group__mgext__ctrl__treeview__ncs.htm#ga2"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__ncs.htm#ga3">TVN_SETFOCUS</a> 4<dl class="el"><dd class="mdescRight">Indicates gain of input focus. <a href="group__mgext__ctrl__treeview__ncs.htm#ga3"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__ncs.htm#ga4">TVN_KILLFOCUS</a> 5<dl class="el"><dd class="mdescRight">Indicates loss of input focus. <a href="group__mgext__ctrl__treeview__ncs.htm#ga4"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__ncs.htm#ga5">TVN_CLICKED</a> 7<dl class="el"><dd class="mdescRight">Indicates the user has clicked an item. <a href="group__mgext__ctrl__treeview__ncs.htm#ga5"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__ncs.htm#ga6">TVN_ENTER</a> 8<dl class="el"><dd class="mdescRight">Indicates the user has pressed the ENTER key. <a href="group__mgext__ctrl__treeview__ncs.htm#ga6"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__ncs.htm#ga7">TVN_FOLDED</a> 9<dl class="el"><dd class="mdescRight">Indicates a sub-tree has folded. <a href="group__mgext__ctrl__treeview__ncs.htm#ga7"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__treeview__ncs.htm#ga8">TVN_UNFOLDED</a> 10<dl class="el"><dd class="mdescRight">Indicates a sub-tree has unfolded. <a href="group__mgext__ctrl__treeview__ncs.htm#ga8"></a><br></dl></ul><h2>Typedefs</h2><ul><li>typedef <a class="el" href="struct__TVITEMINFO.htm">_TVITEMINFO</a> <a class="el" href="group__mgext__ctrl__treeview.htm#ga0">TVITEMINFO</a><li>typedef <a class="el" href="struct__TVITEMINFO.htm">TVITEMINFO</a> * <a class="el" href="group__mgext__ctrl__treeview.htm#ga1">PTVITEMINFO</a><dl class="el"><dd class="mdescRight">Data type of the pointer to a TVITEMINFO. <a href="group__mgext__ctrl__treeview.htm#ga1"></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>2002/01/06</dd></dl>The header file of MiniGUI extension library.<p><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="treeview_8h-source.htm">treeview.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 + -