MiniGUI API Reference (MiniGUI-Processes)  v5.0.6
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...
 
const MG_EXPORT 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

◆ CTRL_ICONVIEW

#define CTRL_ICONVIEW   ("IconView")

The class name of iconview control.

Definition at line 83 of file iconview.h.

◆ IV_ERR

#define IV_ERR   (-1)

Iconview return value

Definition at line 88 of file iconview.h.

◆ IV_ERRSPACE

#define IV_ERRSPACE   (-2)

Iconview return value

Definition at line 90 of file iconview.h.

◆ IV_OKAY

#define IV_OKAY   0

Iconview return value

Definition at line 86 of file iconview.h.

◆ IVFLAG_BITMAP

#define IVFLAG_BITMAP   0x0001

Iconview bitmap flags, reserved

Definition at line 131 of file iconview.h.

◆ IVFLAG_ICON

#define IVFLAG_ICON   0x0002

Iconview icon flags, reserved

Definition at line 133 of file iconview.h.

Typedef Documentation

◆ HIVITEM

typedef GHANDLE HIVITEM

Icon view item handle.

Definition at line 96 of file iconview.h.

◆ IVITEMINFO

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

◆ iconview_get_item_adddata()

DWORD iconview_get_item_adddata ( GHANDLE  hivi)

Uses this to get additional data from an iconview item.

Returns
the additional data of iconview item.

◆ iconview_get_item_bitmap()

DWORD iconview_get_item_bitmap ( GHANDLE  hivi)

Uses this to get bitmap handle from an iconview item.

Returns
the bitmap handle of iconview item.

◆ iconview_get_item_label()

DWORD iconview_get_item_label ( GHANDLE  hivi)

Uses this to get text label from an iconview item.

Returns
the text label of iconview item.

◆ iconview_is_item_hilight()

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.