MiniGUI API Reference (MiniGUI-Standalone)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Macros
Messages of ListView control

Macros

#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
 

Detailed Description

Macro Definition Documentation

#define IVM_ADDITEM   0xF300

Adds a item to iconview.

1 IVM_ADDITEM
2 PIVITEMINFO p
3 
4 p =(LPARAM)lParam;
Parameters
pPointes to a IVITEMINFO structure that contains the information of the new item to be added. nItem member of the IVITEMINFO struct speficied the item position in its parent item, beginning with zero.
Returns
Returns the handle of the new item if successful, or 0 otherwise.

Definition at line 222 of file iconview.h.

#define IVM_CHOOSEITEM   SVM_CHOOSEITEM

The same common control messages as scrollview control

See also
SVM_CHOOSEITEM

Definition at line 367 of file iconview.h.

#define IVM_DELITEM   SVM_DELITEM

The same common control messages as scrollview control

See also
SVM_DELITEM

Definition at line 257 of file iconview.h.

#define IVM_GETBOTTOMMARGIN   SVM_GETBOTTOMMARGIN

The same common control messages as scrollview control

See also
SVM_GETBOTTOMMARGIN

Definition at line 307 of file iconview.h.

#define IVM_GETCONTENTX   SVM_GETCONTENTX

The same common control messages as scrollview control

See also
SVM_GETCONTENTX

Definition at line 337 of file iconview.h.

#define IVM_GETCONTENTY   SVM_GETCONTENTY

The same common control messages as scrollview control

See also
SVM_GETCONTENTY

Definition at line 342 of file iconview.h.

#define IVM_GETCONTHEIGHT   SVM_GETCONTHEIGHT

The same common control messages as scrollview control

See also
SVM_GETCONTHEIGHT

Definition at line 327 of file iconview.h.

#define IVM_GETCONTWIDTH   SVM_GETCONTWIDTH

The same common control messages as scrollview control

See also
SVM_GETCONTWIDTH

Definition at line 322 of file iconview.h.

#define IVM_GETCURSEL   SVM_GETCURSEL

The same common control messages as scrollview control

See also
SVM_GETCURSEL

Definition at line 352 of file iconview.h.

#define IVM_GETFIRSTVISIBLEITEM   SVM_GETFIRSTVISIBLEITEM

The same common control messages as scrollview control

See also
SVM_GETFIRSTVISIBLEITEM

Definition at line 452 of file iconview.h.

#define IVM_GETHSCROLLPAGEVAL   SVM_GETHSCROLLPAGEVAL

The same common control messages as scrollview control

See also
SVM_GETHSCROLLPAGEVAL

Definition at line 407 of file iconview.h.

#define IVM_GETHSCROLLVAL   SVM_GETHSCROLLVAL

The same common control messages as scrollview control

See also
SVM_GETHSCROLLVAL

Definition at line 397 of file iconview.h.

#define IVM_GETITEMADDDATA   SVM_GETITEMADDDATA

The same common control messages as scrollview control

See also
SVM_GETITEMADDDATA

Definition at line 437 of file iconview.h.

#define IVM_GETITEMCOUNT   SVM_GETITEMCOUNT

The same common control messages as scrollview control

See also
SVM_GETITEMCOUNT

Definition at line 432 of file iconview.h.

#define IVM_GETLEFTMARGIN   SVM_GETLEFTMARGIN

The same common control messages as scrollview control

See also
SVM_GETLEFTMARGIN

Definition at line 292 of file iconview.h.

#define IVM_GETMARGINS   SVM_GETMARGINS

The same common control messages as scrollview control

See also
SVM_GETMARGINS

Definition at line 282 of file iconview.h.

#define IVM_GETRIGHTMARGIN   SVM_GETRIGHTMARGIN

The same common control messages as scrollview control

See also
SVM_GETRIGHTMARGIN

Definition at line 302 of file iconview.h.

#define IVM_GETTOPMARGIN   SVM_GETTOPMARGIN

The same common control messages as scrollview control

See also
SVM_GETTOPMARGIN

Definition at line 297 of file iconview.h.

#define IVM_GETVISIBLEHEIGHT   SVM_GETVISIBLEHEIGHT

The same common control messages as scrollview control

See also
SVM_GETVISIBLEHEIGHT

Definition at line 317 of file iconview.h.

#define IVM_GETVISIBLEWIDTH   SVM_GETVISIBLEWIDTH

The same common control messages as scrollview control

See also
SVM_GETVISIBLEWIDTH

Definition at line 312 of file iconview.h.

#define IVM_GETVSCROLLPAGEVAL   SVM_GETVSCROLLPAGEVAL

The same common control messages as scrollview control

See also
SVM_GETVSCROLLPAGEVAL

Definition at line 412 of file iconview.h.

#define IVM_GETVSCROLLVAL   SVM_GETVSCROLLVAL

The same common control messages as scrollview control

See also
SVM_GETVSCROLLVAL

Definition at line 402 of file iconview.h.

#define IVM_MAKEPOSVISIBLE   SVM_MAKEPOSVISIBLE

The same common control messages as scrollview control

See also
SVM_MAKEPOSVISIBLE

Definition at line 392 of file iconview.h.

#define IVM_REFRESHITEM   SVM_REFRESHITEM

The same common control messages as scrollview control

See also
SVM_REFRESHITEM

Definition at line 447 of file iconview.h.

#define IVM_RESETCONTENT   SVM_RESETCONTENT

The same common control messages as scrollview control

See also
SVM_RESETCONTENT

Definition at line 252 of file iconview.h.

#define IVM_SELECTITEM   SVM_SELECTITEM

The same common control messages as scrollview control

See also
SVM_SELECTITEM

Definition at line 357 of file iconview.h.

#define IVM_SETCONTHEIGHT   SVM_SETCONTHEIGHT

The same common control messages as scrollview control

See also
SVM_SETCONTHEIGHT

Definition at line 272 of file iconview.h.

#define IVM_SETCONTPOS   SVM_SETCONTPOS

The same common control messages as scrollview control

See also
SVM_SETCONTPOS

Definition at line 347 of file iconview.h.

#define IVM_SETCONTRANGE   SVM_SETCONTRANGE

The same common control messages as scrollview control

See also
SVM_SETCONTRANGE

Definition at line 332 of file iconview.h.

#define IVM_SETCONTWIDTH   SVM_SETCONTWIDTH

The same common control messages as scrollview control

See also
SVM_SETCONTWIDTH

Definition at line 267 of file iconview.h.

#define IVM_SETCURSEL   SVM_SETCURSEL

The same common control messages as scrollview control

See also
SVM_SETCURSEL

Definition at line 372 of file iconview.h.

#define IVM_SETITEMADDDATA   SVM_SETITEMADDDATA

The same common control messages as scrollview control

See also
SVM_SETITEMADDDATA

Definition at line 442 of file iconview.h.

#define IVM_SETITEMCMP   SVM_SETITEMCMP

The same common control messages as scrollview control

See also
SVM_SETITEMCMP

Definition at line 387 of file iconview.h.

#define IVM_SETITEMDESTROY   SVM_SETITEMDESTROY

The same common control messages as scrollview control

See also
SVM_SETITEMDESTROY

Definition at line 382 of file iconview.h.

#define IVM_SETITEMDRAW   SVM_SETITEMDRAW

The same common control messages as scrollview control

See also
SVM_SETITEMDRAW

Definition at line 262 of file iconview.h.

#define IVM_SETITEMINIT   SVM_SETITEMINIT

The same common control messages as scrollview control

See also
SVM_SETITEMINIT

Definition at line 377 of file iconview.h.

#define IVM_SETITEMOPS   SVM_SETITEMOPS

The same common control messages as scrollview control

See also
SVM_SETITEMOPS

Definition at line 277 of file iconview.h.

#define IVM_SETITEMSIZE   0xF436

Sets the item width and height of an iconview control.

All the items have the same item size. This message should be sent before you add items to iconview control.

1 IVM_SETITEMSIZE
2 int width;
3 int height;
4 
5 wParam = width;
6 lParam = height;
Parameters
widthWidth of an item.
heightHeight of an item.
Returns
0.

Definition at line 245 of file iconview.h.

#define IVM_SETMARGINS   SVM_SETMARGINS

The same common control messages as scrollview control

See also
SVM_SETMARGINS

Definition at line 287 of file iconview.h.

#define IVM_SETSCROLLPAGEVAL   SVM_SETSCROLLPAGEVAL

The same common control messages as scrollview control

See also
SVM_SETSCROLLPAGEVAL

Definition at line 422 of file iconview.h.

#define IVM_SETSCROLLVAL   SVM_SETSCROLLVAL

The same common control messages as scrollview control

See also
SVM_SETSCROLLVAL

Definition at line 417 of file iconview.h.

#define IVM_SHOWITEM   SVM_SHOWITEM

The same common control messages as scrollview control

See also
SVM_SHOWITEM

Definition at line 362 of file iconview.h.

#define IVM_SORTITEMS   SVM_SORTITEMS

The same common control messages as scrollview control

See also
SVM_SORTITEMS

Definition at line 427 of file iconview.h.