mGNCS API Reference
v1.2.0
A new control set and a new framework for MiniGUI apps
|
Go to the source code of this file.
Macros | |
#define | NCSCTRL_ITEMVIEW NCSCLASSNAME("itemview") |
The name of mItemView control. More... | |
#define | NCSS_ITEMV_AUTOSORT (0x0002<<NCSS_SWGT_SHIFT) |
Sort items automatically. More... | |
#define | NCSS_ITEMV_LOOP (0x0004<<NCSS_SWGT_SHIFT) |
Travel all items circularly. More... | |
#define | NCSS_ITEMV_SINGLE (0x0000<<NCSS_SWGT_SHIFT) |
Only have a selected item simultaneously. More... | |
#define | NCSS_ITEMV_MULTIPLE (0x0008<<NCSS_SWGT_SHIFT) |
Allow user to select multiple items. Reserved. More... | |
#define | NCSS_ITEMV_SHIFT (NCSS_SWGT_SHIFT+4) |
The bits used by mItemView in style. More... | |
Typedefs | |
typedef int(* | NCS_CB_INITITEM) (mItemView *self, HITEM hItem) |
The callback of initializing item. More... | |
typedef void(* | NCS_CB_DSTRITEM) (mItemView *self, HITEM hItem) |
The callback of destroying item. More... | |
typedef void(* | NCS_CB_DRAWITEM) (mItemView *self, HITEM hItem, HDC hdc, RECT *rcDraw) |
The callback of drawing item. More... | |
Enumerations |
Variables | |
MGNCS_EXPORT mItemViewClass | g_stmItemViewCls |
The instance of mItemViewClass. More... | |
This file includes the definition of mItemView.
This file is part of mGNCS, a component for MiniGUI. Copyright (C) 2008~2018, Beijing FMSoft Technologies Co., Ltd. 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 mitemview.h.