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

📄 listview_8h.htm

📁 MINIGUI1.6开发API
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<!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: listview.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&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><div class="nav"><a class="el" href="dir_000000.htm">ext</a>&nbsp;/&nbsp;<a class="el" href="dir_000001.htm">include</a>&nbsp;/&nbsp;<a class="el" href="dir_000002.htm">ext</a></div><h1>listview.h File Reference</h1><p><a href="listview_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__listview.htm#ga29">CTRL_LISTVIEW</a>&nbsp;&nbsp;&nbsp;("ListView")<dl class="el"><dd class="mdescRight">The class name of listview control.  <a href="group__mgext__ctrl__listview.htm#ga29"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview.htm#ga30">LV_OKAY</a>&nbsp;&nbsp;&nbsp;0<li>#define <a class="el" href="group__mgext__ctrl__listview.htm#ga31">LV_ERR</a>&nbsp;&nbsp;&nbsp;(-1)<li>#define <a class="el" href="group__mgext__ctrl__listview.htm#ga32">LV_ERRSPACE</a>&nbsp;&nbsp;&nbsp;(-2)<li>#define <a class="el" href="group__mgext__ctrl__listview.htm#ga33">LVIF_FOLD</a>&nbsp;&nbsp;&nbsp;0x0001L<li>#define <a class="el" href="group__mgext__ctrl__listview.htm#ga34">LVFLAG_BITMAP</a>&nbsp;&nbsp;&nbsp;0x0001<li>#define <a class="el" href="group__mgext__ctrl__listview.htm#ga35">LVFLAG_ICON</a>&nbsp;&nbsp;&nbsp;0x0002<li>#define <a class="el" href="group__mgext__ctrl__listview.htm#ga36">LVCF_LEFTALIGN</a>&nbsp;&nbsp;&nbsp;0x0000<li>#define <a class="el" href="group__mgext__ctrl__listview.htm#ga37">LVCF_RIGHTALIGN</a>&nbsp;&nbsp;&nbsp;0x0001<li>#define <a class="el" href="group__mgext__ctrl__listview.htm#ga38">LVCF_CENTERALIGN</a>&nbsp;&nbsp;&nbsp;0x0002<li>#define <a class="el" href="group__mgext__ctrl__listview.htm#ga39">LVCF_TREEVIEW</a>&nbsp;&nbsp;&nbsp;0x0004<li>#define <a class="el" href="group__mgext__ctrl__listview.htm#ga40">LVHF_LEFTALIGN</a>&nbsp;&nbsp;&nbsp;0x0000<li>#define <a class="el" href="group__mgext__ctrl__listview.htm#ga41">LVHF_RIGHTALIGN</a>&nbsp;&nbsp;&nbsp;0x0004<li>#define <a class="el" href="group__mgext__ctrl__listview.htm#ga42">LVHF_CENTERALIGN</a>&nbsp;&nbsp;&nbsp;0x0008<li>#define <a class="el" href="group__mgext__ctrl__listview.htm#ga43">LVFF_TEXT</a>&nbsp;&nbsp;&nbsp;0x0001<li>#define <a class="el" href="group__mgext__ctrl__listview.htm#ga44">LVFF_ADDDATA</a>&nbsp;&nbsp;&nbsp;0x0002<li>#define <a class="el" href="group__mgext__ctrl__listview__styles.htm#ga0">LVS_UPNOTIFY</a>&nbsp;&nbsp;&nbsp;0x0001L<dl class="el"><dd class="mdescRight">Notifies the parent window when mouse is up (default is down).  <a href="group__mgext__ctrl__listview__styles.htm#ga0"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__styles.htm#ga2">LVS_SORT</a>&nbsp;&nbsp;&nbsp;0x0002L<dl class="el"><dd class="mdescRight">Sorts strings automatically.  <a href="group__mgext__ctrl__listview__styles.htm#ga2"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__styles.htm#ga3">LVS_MULTIPLESEL</a>&nbsp;&nbsp;&nbsp;0x0008L<dl class="el"><dd class="mdescRight">Causes the listview to allow the user to select multiple items.  <a href="group__mgext__ctrl__listview__styles.htm#ga3"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__styles.htm#ga4">LVS_CHECKBOX</a>&nbsp;&nbsp;&nbsp;0x1000L<dl class="el"><dd class="mdescRight">Displays a check box in an item.  <a href="group__mgext__ctrl__listview__styles.htm#ga4"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__styles.htm#ga5">LVS_AUTOCHECK</a>&nbsp;&nbsp;&nbsp;0x2000L<dl class="el"><dd class="mdescRight">If the list view has LVS_CHECKBOX style, this style tell the list view to auto-switch the check box between checked or un-checked when the user click the check mark box of an item.  <a href="group__mgext__ctrl__listview__styles.htm#ga5"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__styles.htm#ga6">LVS_AUTOCHECKBOX</a>&nbsp;&nbsp;&nbsp;(LVS_CHECKBOX | LVS_AUTOCHECK)<dl class="el"><dd class="mdescRight">If the list view has LVS_AUTOCHECKBOX style, this style tell the list view use LVS_CHECKBOX and LVS_AUTOCHECK style.  <a href="group__mgext__ctrl__listview__styles.htm#ga6"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__styles.htm#ga7">LVS_TREEVIEW</a>&nbsp;&nbsp;&nbsp;0x4000L<dl class="el"><dd class="mdescRight">Uses listview in a treeview style.  <a href="group__mgext__ctrl__listview__styles.htm#ga7"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga0">LVM_ADDITEM</a>&nbsp;&nbsp;&nbsp;0xF110<dl class="el"><dd class="mdescRight">Adds a item to listview, this item is also called a row.  <a href="group__mgext__ctrl__listview__msgs.htm#ga0"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga1">LVM_FILLSUBITEM</a>&nbsp;&nbsp;&nbsp;0xF111<dl class="el"><dd class="mdescRight">Sets the content of a subitem, indentified by rows and columns.  <a href="group__mgext__ctrl__listview__msgs.htm#ga1"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga2">LVM_ADDCOLUMN</a>&nbsp;&nbsp;&nbsp;0xF112<dl class="el"><dd class="mdescRight">Adds a new column to listview, indentified by column.  <a href="group__mgext__ctrl__listview__msgs.htm#ga2"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga3">LVM_DELITEM</a>&nbsp;&nbsp;&nbsp;0xF113<dl class="el"><dd class="mdescRight">Deletes an item form listview.  <a href="group__mgext__ctrl__listview__msgs.htm#ga3"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga4">LVM_CLEARSUBITEM</a>&nbsp;&nbsp;&nbsp;0xF114<dl class="el"><dd class="mdescRight">Clears the content of a subitem.  <a href="group__mgext__ctrl__listview__msgs.htm#ga4"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga5">LVM_DELCOLUMN</a>&nbsp;&nbsp;&nbsp;0xF115<dl class="el"><dd class="mdescRight">Deletes a column from listview, all subitem in this column will be removed.  <a href="group__mgext__ctrl__listview__msgs.htm#ga5"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga6">LVM_COLSORT</a>&nbsp;&nbsp;&nbsp;0xF116<dl class="el"><dd class="mdescRight">Sorts all subitems according to a certain column.  <a href="group__mgext__ctrl__listview__msgs.htm#ga6"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga7">LVM_SETSUBITEMCOLOR</a>&nbsp;&nbsp;&nbsp;0xF117<dl class="el"><dd class="mdescRight">Sets the text color of a subitem.  <a href="group__mgext__ctrl__listview__msgs.htm#ga7"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga8">LVM_FINDITEM</a>&nbsp;&nbsp;&nbsp;0xF118<dl class="el"><dd class="mdescRight">Searchs a item.  <a href="group__mgext__ctrl__listview__msgs.htm#ga8"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga9">LVM_GETSUBITEMTEXT</a>&nbsp;&nbsp;&nbsp;0xF119<dl class="el"><dd class="mdescRight">Retrieves the text of a listview subitem.  <a href="group__mgext__ctrl__listview__msgs.htm#ga9"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga10">LVM_GETITEMCOUNT</a>&nbsp;&nbsp;&nbsp;0xF11A<dl class="el"><dd class="mdescRight">Gets the number of all the items(rows) in a listview.  <a href="group__mgext__ctrl__listview__msgs.htm#ga10"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga11">LVM_GETCOLUMNCOUNT</a>&nbsp;&nbsp;&nbsp;0xF11B<dl class="el"><dd class="mdescRight">Gets the number of all the columns in listview.  <a href="group__mgext__ctrl__listview__msgs.htm#ga11"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga12">LVM_GETSELECTEDITEM</a>&nbsp;&nbsp;&nbsp;0xF11C<dl class="el"><dd class="mdescRight">Gets the current selected item.  <a href="group__mgext__ctrl__listview__msgs.htm#ga12"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga13">LVM_DELALLITEM</a>&nbsp;&nbsp;&nbsp;0xF11D<dl class="el"><dd class="mdescRight">Removes all the items in listview.  <a href="group__mgext__ctrl__listview__msgs.htm#ga13"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga14">LVM_MODIFYHEAD</a>&nbsp;&nbsp;&nbsp;0xF11E<dl class="el"><dd class="mdescRight">Changes the title of a column.  <a href="group__mgext__ctrl__listview__msgs.htm#ga14"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga15">LVM_SELECTITEM</a>&nbsp;&nbsp;&nbsp;0xF11F<dl class="el"><dd class="mdescRight">Selects an item.  <a href="group__mgext__ctrl__listview__msgs.htm#ga15"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga16">LVM_SHOWITEM</a>&nbsp;&nbsp;&nbsp;0xF120<dl class="el"><dd class="mdescRight">Makes the item is entirely visible in the list view.  <a href="group__mgext__ctrl__listview__msgs.htm#ga16"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga17">LVM_GETSUBITEMLEN</a>&nbsp;&nbsp;&nbsp;0xF121<dl class="el"><dd class="mdescRight">Gets the text len of the subitem.  <a href="group__mgext__ctrl__listview__msgs.htm#ga17"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga18">LVM_SETCOLUMN</a>&nbsp;&nbsp;&nbsp;0xF122<dl class="el"><dd class="mdescRight">Sets the attributes of a list view column.  <a href="group__mgext__ctrl__listview__msgs.htm#ga18"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga19">LVM_SETSUBITEMTEXT</a>&nbsp;&nbsp;&nbsp;0xF123<dl class="el"><dd class="mdescRight">Sets the text of a subitem.  <a href="group__mgext__ctrl__listview__msgs.htm#ga19"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga20">LVM_SETSUBITEM</a>&nbsp;&nbsp;&nbsp;0xF124<dl class="el"><dd class="mdescRight">Sets the attributes of a subitem.  <a href="group__mgext__ctrl__listview__msgs.htm#ga20"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga21">LVM_GETCOLUMN</a>&nbsp;&nbsp;&nbsp;0xF125<dl class="el"><dd class="mdescRight">Retrieves the information about a listview column.  <a href="group__mgext__ctrl__listview__msgs.htm#ga21"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga22">LVM_GETCOLUMNWIDTH</a>&nbsp;&nbsp;&nbsp;0xF126<dl class="el"><dd class="mdescRight">Retrieves the width of a listview column.  <a href="group__mgext__ctrl__listview__msgs.htm#ga22"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga23">LVM_GETITEM</a>&nbsp;&nbsp;&nbsp;0xF127<dl class="el"><dd class="mdescRight">Retrieves the item's attributes.  <a href="group__mgext__ctrl__listview__msgs.htm#ga23"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga24">LVM_GETITEMSTATE</a>&nbsp;&nbsp;&nbsp;0xF128<dl class="el"><dd class="mdescRight">Retrieves the state of a listview item.  <a href="group__mgext__ctrl__listview__msgs.htm#ga24"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga25">LVM_GETSELECTEDCOLUMN</a>&nbsp;&nbsp;&nbsp;0xF129<dl class="el"><dd class="mdescRight">Retrieves the index of the currently selected column of a listview.  <a href="group__mgext__ctrl__listview__msgs.htm#ga25"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga26">LVM_GETSELECTEDCOUNT</a>&nbsp;&nbsp;&nbsp;0xF130<dl class="el"><dd class="mdescRight">Retrieves the number of the selected items in a listview.  <a href="group__mgext__ctrl__listview__msgs.htm#ga26"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga27">LVM_GETTOPVISIBLE</a>&nbsp;&nbsp;&nbsp;0xF131<dl class="el"><dd class="mdescRight">Retrieves the index of the topmost visible item in a listview.  <a href="group__mgext__ctrl__listview__msgs.htm#ga27"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga30">LVM_SORTITEMS</a>&nbsp;&nbsp;&nbsp;0xF134<dl class="el"><dd class="mdescRight">Uses an application-defined comparision function to sort the items.  <a href="group__mgext__ctrl__listview__msgs.htm#ga30"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga31">LVM_SETITEMHEIGHT</a>&nbsp;&nbsp;&nbsp;0xF135<dl class="el"><dd class="mdescRight">Changes the height of a item.  <a href="group__mgext__ctrl__listview__msgs.htm#ga31"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga32">LVM_SETHEADHEIGHT</a>&nbsp;&nbsp;&nbsp;0xF136<dl class="el"><dd class="mdescRight">Changes the height of the header.  <a href="group__mgext__ctrl__listview__msgs.htm#ga32"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga33">LVM_GETITEMADDDATA</a>&nbsp;&nbsp;&nbsp;0xF137<dl class="el"><dd class="mdescRight">Gets the 32-bit data value associated with an item.  <a href="group__mgext__ctrl__listview__msgs.htm#ga33"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__listview__msgs.htm#ga34">LVM_SETITEMADDDATA</a>&nbsp;&nbsp;&nbsp;0xF138

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -