MiniGUI API Reference (MiniGUI-Processes)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Modules | Data Structures | Macros | Typedefs | Functions
IconView control

Modules

 Styles of iconview control
 
 Messages of ListView control
 
 Notification code of IconView control
 

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
 

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

Macro Definition Documentation

#define CTRL_ICONVIEW   ("IconView")

The class name of iconview control.

Definition at line 71 of file iconview.h.

#define IV_ERR   (-1)

Iconview return value

Definition at line 76 of file iconview.h.

#define IV_ERRSPACE   (-2)

Iconview return value

Definition at line 78 of file iconview.h.

#define IV_OKAY   0

Iconview return value

Definition at line 74 of file iconview.h.

#define IVFLAG_BITMAP   0x0001

Iconview bitmap flags, reserved

Definition at line 119 of file iconview.h.

#define IVFLAG_ICON   0x0002

Iconview icon flags, reserved

Definition at line 121 of file iconview.h.

Typedef Documentation

typedef GHANDLE HIVITEM

Icon view item handle.

Definition at line 84 of file iconview.h.

typedef struct _IVITEMINFO IVITEMINFO

Structure of the iconview item info, contains information about an item. This structure is used for creating or retrieving an item.

Function Documentation

DWORD iconview_get_item_adddata ( GHANDLE  hivi)

Uses this to get additional data from an iconview item.

Returns
the additional data of iconview item.
DWORD iconview_get_item_bitmap ( GHANDLE  hivi)

Uses this to get bitmap handle from an iconview item.

Returns
the bitmap handle of iconview item.
DWORD iconview_get_item_label ( GHANDLE  hivi)

Uses this to get text label from an iconview item.

Returns
the text label of iconview item.
int iconview_is_item_hilight ( HWND  hWnd,
GHANDLE  hivi 
)

Uses this to get an iconview item is hilighted or not.

Returns
TRUE when item is hilighted, or FALSE.