MiniGUI API Reference (MiniGUI-Processes)
v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
Go to the source code of this file.
Data Structures | |
struct | _LVITEM |
struct | _LVSUBITEM |
struct | _LVSORTDATA |
struct | _LVCUSTOMDRAWFUNCS |
struct | _LVCOLUMN |
struct | _LVFINDINFO |
struct | _LVNM_NORMAL |
Macros | |
#define | CTRL_LISTVIEW ("ListView") |
The class name of listview control. More... | |
#define | LV_OKAY 0 |
#define | LV_ERR (-1) |
#define | LV_ERRSPACE (-2) |
#define | LVIF_FOLD 0x0001L |
listview item flags, is used inside minigui. More... | |
#define | LVFLAG_BITMAP 0x0001 |
#define | LVFLAG_ICON 0x0002 |
#define | LVCF_LEFTALIGN 0x0000 |
#define | LVCF_RIGHTALIGN 0x0001 |
#define | LVCF_CENTERALIGN 0x0002 |
#define | LVCF_TREEVIEW 0x0004 |
#define | LVHF_LEFTALIGN 0x0000 |
#define | LVHF_RIGHTALIGN 0x0004 |
#define | LVHF_CENTERALIGN 0x0008 |
#define | LVFF_TEXT 0x0001 |
#define | LVFF_ADDDATA 0x0002 |
#define | LVS_UPNOTIFY 0x0001L /* must be the same with SVS_UPNOTIFY */ |
Notifies the parent window when mouse is up (default is down). More... | |
#define | LVS_SORT 0x0002L |
Sorts strings automatically. More... | |
#define | LVS_MULTIPLESEL 0x0008L /* reserved */ |
Causes the listview to allow the user to select multiple items. More... | |
#define | LVS_CHECKBOX 0x1000L /* reserved */ |
Displays a check box in an item. More... | |
#define | LVS_AUTOCHECK 0x2000L /* reserved */ |
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. More... | |
#define | LVS_AUTOCHECKBOX (LVS_CHECKBOX | LVS_AUTOCHECK) /* reserved */ |
If the list view has LVS_AUTOCHECKBOX style, this style tell the list view use LVS_CHECKBOX and LVS_AUTOCHECK style. More... | |
#define | LVS_TREEVIEW 0x4000L |
Uses listview in a treeview style. More... | |
#define | LVM_ADDITEM 0xF110 |
Adds a item to listview, this item is also called a row. More... | |
#define | LVM_FILLSUBITEM 0xF111 |
Sets the content of a subitem, indentified by rows and columns. More... | |
#define | LVM_ADDCOLUMN 0xF112 |
Adds a new column to listview, identified by column. More... | |
#define | LVM_DELITEM 0xF113 |
Deletes an item form listview. More... | |
#define | LVM_CLEARSUBITEM 0xF114 |
Clears the content of a subitem. More... | |
#define | LVM_DELCOLUMN 0xF115 |
Deletes a column from listview, all subitem in this column will be removed. More... | |
#define | LVM_COLSORT 0xF116 |
Sorts all subitems according to a certain column. More... | |
#define | LVM_SETSUBITEMCOLOR 0xF117 |
Sets the text color of a subitem. More... | |
#define | LVM_FINDITEM 0xF118 |
Searchs a item. More... | |
#define | LVM_GETSUBITEMTEXT 0xF119 |
Retrieves the text of a listview subitem. More... | |
#define | LVM_GETITEMCOUNT 0xF11A |
Gets the number of all the items(rows) in a listview. More... | |
#define | LVM_GETCOLUMNCOUNT 0xF11B |
Gets the number of all the columns in listview. More... | |
#define | LVM_GETSELECTEDITEM 0xF11C |
Gets the current selected item. More... | |
#define | LVM_DELALLITEM 0xF11D |
Removes all the items in listview. More... | |
#define | LVM_MODIFYHEAD 0xF11E |
Changes the title of a column. More... | |
#define | LVM_SELECTITEM 0xF11F |
Selects an item. More... | |
#define | LVM_SHOWITEM 0xF120 |
Makes the item is entirely visible in the list view. More... | |
#define | LVM_GETSUBITEMLEN 0xF121 |
Gets the text length of the subitem. More... | |
#define | LVM_SETCOLUMN 0xF122 |
Sets the attributes of a list view column. More... | |
#define | LVM_SETSUBITEMTEXT 0xF123 |
Sets the text of a subitem. More... | |
#define | LVM_SETSUBITEM 0xF124 |
Sets the attributes of a subitem. More... | |
#define | LVM_GETCOLUMN 0xF125 |
Retrieves the information about a listview column. More... | |
#define | LVM_GETCOLUMNWIDTH 0xF126 |
Retrieves the width of a listview column. More... | |
#define | LVM_GETITEM 0xF127 |
Retrieves the item's attributes. More... | |
#define | LVM_GETITEMSTATE 0xF128 |
Retrieves the state of a listview item. More... | |
#define | LVM_GETSELECTEDCOLUMN 0xF129 |
Retrieves the index of the currently selected column of a listview. More... | |
#define | LVM_GETSELECTEDCOUNT 0xF130 |
Retrieves the number of the selected items in a listview. More... | |
#define | LVM_GETTOPVISIBLE 0xF131 |
Retrieves the index of the topmost visible item in a listview. More... | |
#define | LVM_NULL 0xF132 |
reserved. More... | |
#define | LVM_SETITEMSTATE 0xF133 |
reserved. More... | |
#define | LVM_SORTITEMS 0xF134 |
Uses an application-defined comparision function to sort the items. More... | |
#define | LVM_SETITEMHEIGHT 0xF135 |
Changes the height of a item. More... | |
#define | LVM_SETHEADHEIGHT 0xF136 |
Changes the height of the header. More... | |
#define | LVM_GETITEMADDDATA 0xF137 |
Gets the 32-bit data value associated with an item. More... | |
#define | LVM_SETITEMADDDATA 0xF138 |
Associates a 32-bit data value with an item. More... | |
#define | LVM_CHOOSEITEM 0xF139 |
Selects and shows an item. More... | |
#define | LVM_SETSTRCMPFUNC 0xF140 |
Sets the STRCMP function used to sort items. More... | |
#define | LVM_GETRELATEDITEM 0xF141 |
Retrives related item of specific item. More... | |
#define | LVM_FOLDITEM 0xF142 |
Folds or unfolds an item. More... | |
#define | LVM_SETCUSTOMDRAW 0xF143 |
Sets the customized drawing functions of listview. More... | |
#define | LVM_GETSELECTEDITEMRECT 0xF144 |
Get the selected item's Rectangle. More... | |
#define | LVN_CLICKED 1 /* must be the same as SVN_CLICKED */ |
This notification code informs parent window the mouse clicked. More... | |
#define | LVN_SELCHANGE 2 /* must be the same as SVN_SELCHANGED */ |
This notification code informs parent window the current selected item has changed. More... | |
#define | LVN_ITEMRDOWN 4 |
This notification code informs parent window the right mouse button down on a listview item. More... | |
#define | LVN_ITEMRUP 5 |
This notification code informs parent window the right mouse button up on a listview item. More... | |
#define | LVN_HEADRDOWN 6 |
This notification code informs parent window the right mouse button down on the listview header. More... | |
#define | LVN_HEADRUP 7 |
This notification code informs parent window the right mouse button up on the listview header. More... | |
#define | LVN_KEYDOWN 8 |
This notification code informs parent window that a key has been pressed. More... | |
#define | LVN_ITEMDBCLK 9 |
This notification code informs parent window the current selected item has be double clicked. More... | |
#define | LVN_ITEMCLK 10 |
This notification code informs parent window the current selected item has been clicked. More... | |
#define | LVN_COLCHANGE 11 |
This notification code informs parent window the current selected column has changed. More... | |
#define | LVN_FOLDED 12 |
This notification code informs that user folds an item by mouse clicking. More... | |
#define | LVN_UNFOLDED 13 |
This notification code informs that user unfolds an item by mouse clicking. More... | |
This file is part of MiniGUI, a mature cross-platform windowing and Graphics User Interface (GUI) support system for embedded systems and smart IoT devices. Copyright (C) 2002~2018, Beijing FMSoft Technologies Co., Ltd. Copyright (C) 1998~2002, WEI Yongming This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. Or, As this program is a library, any link to this program must follow GNU General Public License version 3 (GPLv3). If you cannot accept GPLv3, you need to be licensed from FMSoft. If you have got a commercial license of this program, please use it under the terms and conditions of the commercial license. For more information about the commercial license, please refer to <http://www.minigui.com/en/about/licensing-policy/>.
Definition in file listview.h.