MiniGUI API Reference (MiniGUI-Standalone)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Data Structures | Macros | Typedefs | Functions
iconview.h File Reference

Go to the source code of this file.

Data Structures

struct  _IVITEMINFO
 

Macros

#define CTRL_ICONVIEW   ("IconView")
 The class name of iconview control. More...
 
#define IV_OKAY   0
 
#define IV_ERR   (-1)
 
#define IV_ERRSPACE   (-2)
 
#define IVFLAG_BITMAP   0x0001
 
#define IVFLAG_ICON   0x0002
 
#define IVS_NOTIFY   SVS_NOTIFY
 The notify style of iconview control. More...
 
#define IVS_UPNOTIFY   SVS_UPNOTIFY
 The upnotify style of iconview control. More...
 
#define IVS_AUTOSORT   SVS_AUTOSORT
 The auto sort style of iconview control. More...
 
#define IVS_LOOP   SVS_LOOP
 The loop style of iconview control. More...
 
#define IVM_ADDITEM   0xF300
 Adds a item to iconview. More...
 
#define IVM_SETITEMSIZE   0xF436
 Sets the item width and height of an iconview control. More...
 
#define IVM_RESETCONTENT   SVM_RESETCONTENT
 
#define IVM_DELITEM   SVM_DELITEM
 
#define IVM_SETITEMDRAW   SVM_SETITEMDRAW
 
#define IVM_SETCONTWIDTH   SVM_SETCONTWIDTH
 
#define IVM_SETCONTHEIGHT   SVM_SETCONTHEIGHT
 
#define IVM_SETITEMOPS   SVM_SETITEMOPS
 
#define IVM_GETMARGINS   SVM_GETMARGINS
 
#define IVM_SETMARGINS   SVM_SETMARGINS
 
#define IVM_GETLEFTMARGIN   SVM_GETLEFTMARGIN
 
#define IVM_GETTOPMARGIN   SVM_GETTOPMARGIN
 
#define IVM_GETRIGHTMARGIN   SVM_GETRIGHTMARGIN
 
#define IVM_GETBOTTOMMARGIN   SVM_GETBOTTOMMARGIN
 
#define IVM_GETVISIBLEWIDTH   SVM_GETVISIBLEWIDTH
 
#define IVM_GETVISIBLEHEIGHT   SVM_GETVISIBLEHEIGHT
 
#define IVM_GETCONTWIDTH   SVM_GETCONTWIDTH
 
#define IVM_GETCONTHEIGHT   SVM_GETCONTHEIGHT
 
#define IVM_SETCONTRANGE   SVM_SETCONTRANGE
 
#define IVM_GETCONTENTX   SVM_GETCONTENTX
 
#define IVM_GETCONTENTY   SVM_GETCONTENTY
 
#define IVM_SETCONTPOS   SVM_SETCONTPOS
 
#define IVM_GETCURSEL   SVM_GETCURSEL
 
#define IVM_SELECTITEM   SVM_SELECTITEM
 
#define IVM_SHOWITEM   SVM_SHOWITEM
 
#define IVM_CHOOSEITEM   SVM_CHOOSEITEM
 
#define IVM_SETCURSEL   SVM_SETCURSEL
 
#define IVM_SETITEMINIT   SVM_SETITEMINIT
 
#define IVM_SETITEMDESTROY   SVM_SETITEMDESTROY
 
#define IVM_SETITEMCMP   SVM_SETITEMCMP
 
#define IVM_MAKEPOSVISIBLE   SVM_MAKEPOSVISIBLE
 
#define IVM_GETHSCROLLVAL   SVM_GETHSCROLLVAL
 
#define IVM_GETVSCROLLVAL   SVM_GETVSCROLLVAL
 
#define IVM_GETHSCROLLPAGEVAL   SVM_GETHSCROLLPAGEVAL
 
#define IVM_GETVSCROLLPAGEVAL   SVM_GETVSCROLLPAGEVAL
 
#define IVM_SETSCROLLVAL   SVM_SETSCROLLVAL
 
#define IVM_SETSCROLLPAGEVAL   SVM_SETSCROLLPAGEVAL
 
#define IVM_SORTITEMS   SVM_SORTITEMS
 
#define IVM_GETITEMCOUNT   SVM_GETITEMCOUNT
 
#define IVM_GETITEMADDDATA   SVM_GETITEMADDDATA
 
#define IVM_SETITEMADDDATA   SVM_SETITEMADDDATA
 
#define IVM_REFRESHITEM   SVM_REFRESHITEM
 
#define IVM_GETFIRSTVISIBLEITEM   SVM_GETFIRSTVISIBLEITEM
 
#define IVN_CLICKED   SVN_CLICKED
 
#define IVN_SELCHANGED   SVN_SELCHANGED
 

Typedefs

typedef GHANDLE HIVITEM
 Icon view item handle. More...
 
typedef struct _IVITEMINFO IVITEMINFO
 

Functions

MG_EXPORT int iconview_is_item_hilight (HWND hWnd, GHANDLE hivi)
 Uses this to get an iconview item is hilighted or not. More...
 
MG_EXPORT PBITMAP iconview_get_item_bitmap (GHANDLE hivi)
 Uses this to get bitmap handle from an iconview item. More...
 
MG_EXPORT const char * iconview_get_item_label (GHANDLE hivi)
 Uses this to get text label from an iconview item. More...
 
MG_EXPORT DWORD iconview_get_item_adddata (GHANDLE hivi)
 Uses this to get additional data from an iconview item. More...
 

Detailed Description

Author
Wei Yongming vince.nosp@m.nt@m.nosp@m.inigu.nosp@m.i.or.nosp@m.g
Date
2002/01/06
   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 iconview.h.