MiniGUI API Reference (MiniGUI-Processes)
v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
Go to the documentation of this file.
62 #ifndef EXT_ICONVIEW_H
63 #define EXT_ICONVIEW_H
83 #define CTRL_ICONVIEW ("IconView")
90 #define IV_ERRSPACE (-2)
131 #define IVFLAG_BITMAP 0x0001
133 #define IVFLAG_ICON 0x0002
168 MG_EXPORT
GHANDLE iconview_get_item(
HWND hwnd,
int index);
170 MG_EXPORT
BOOL iconview_set_item_lable(
GHANDLE hivi,
const char* strLable);
186 #define IVS_NOTIFY SVS_NOTIFY
193 #define IVS_UPNOTIFY SVS_UPNOTIFY
200 #define IVS_AUTOSORT SVS_AUTOSORT
207 #define IVS_LOOP SVS_LOOP
234 #define IVM_ADDITEM 0xF300
257 #define IVM_SETITEMSIZE 0xF436
264 #define IVM_RESETCONTENT SVM_RESETCONTENT
269 #define IVM_DELITEM SVM_DELITEM
274 #define IVM_SETITEMDRAW SVM_SETITEMDRAW
279 #define IVM_SETCONTWIDTH SVM_SETCONTWIDTH
284 #define IVM_SETCONTHEIGHT SVM_SETCONTHEIGHT
289 #define IVM_SETITEMOPS SVM_SETITEMOPS
294 #define IVM_GETMARGINS SVM_GETMARGINS
299 #define IVM_SETMARGINS SVM_SETMARGINS
304 #define IVM_GETLEFTMARGIN SVM_GETLEFTMARGIN
309 #define IVM_GETTOPMARGIN SVM_GETTOPMARGIN
314 #define IVM_GETRIGHTMARGIN SVM_GETRIGHTMARGIN
319 #define IVM_GETBOTTOMMARGIN SVM_GETBOTTOMMARGIN
324 #define IVM_GETVISIBLEWIDTH SVM_GETVISIBLEWIDTH
329 #define IVM_GETVISIBLEHEIGHT SVM_GETVISIBLEHEIGHT
334 #define IVM_GETCONTWIDTH SVM_GETCONTWIDTH
339 #define IVM_GETCONTHEIGHT SVM_GETCONTHEIGHT
344 #define IVM_SETCONTRANGE SVM_SETCONTRANGE
349 #define IVM_GETCONTENTX SVM_GETCONTENTX
354 #define IVM_GETCONTENTY SVM_GETCONTENTY
359 #define IVM_SETCONTPOS SVM_SETCONTPOS
364 #define IVM_GETCURSEL SVM_GETCURSEL
369 #define IVM_SELECTITEM SVM_SELECTITEM
374 #define IVM_SHOWITEM SVM_SHOWITEM
379 #define IVM_CHOOSEITEM SVM_CHOOSEITEM
384 #define IVM_SETCURSEL SVM_SETCURSEL
389 #define IVM_SETITEMINIT SVM_SETITEMINIT
394 #define IVM_SETITEMDESTROY SVM_SETITEMDESTROY
399 #define IVM_SETITEMCMP SVM_SETITEMCMP
404 #define IVM_MAKEPOSVISIBLE SVM_MAKEPOSVISIBLE
409 #define IVM_GETHSCROLLVAL SVM_GETHSCROLLVAL
414 #define IVM_GETVSCROLLVAL SVM_GETVSCROLLVAL
419 #define IVM_GETHSCROLLPAGEVAL SVM_GETHSCROLLPAGEVAL
424 #define IVM_GETVSCROLLPAGEVAL SVM_GETVSCROLLPAGEVAL
429 #define IVM_SETSCROLLVAL SVM_SETSCROLLVAL
434 #define IVM_SETSCROLLPAGEVAL SVM_SETSCROLLPAGEVAL
439 #define IVM_SORTITEMS SVM_SORTITEMS
444 #define IVM_GETITEMCOUNT SVM_GETITEMCOUNT
449 #define IVM_GETITEMADDDATA SVM_GETITEMADDDATA
454 #define IVM_SETITEMADDDATA SVM_SETITEMADDDATA
459 #define IVM_REFRESHITEM SVM_REFRESHITEM
464 #define IVM_GETFIRSTVISIBLEITEM SVM_GETFIRSTVISIBLEITEM
477 #define IVN_CLICKED SVN_CLICKED
483 #define IVN_SELCHANGED SVN_SELCHANGED
DWORD_PTR DWORD
A unsigned long type definition for pointer precision.
GHANDLE HWND
Handle to main window or control.
PVOID GHANDLE
General handle.
struct _IVITEMINFO IVITEMINFO
int BOOL
A type definition for boolean value.
MG_EXPORT DWORD iconview_get_item_adddata(GHANDLE hivi)
Uses this to get additional data from an iconview item.
GHANDLE HIVITEM
Icon view item handle.
MG_EXPORT PBITMAP iconview_get_item_bitmap(GHANDLE hivi)
Uses this to get bitmap handle from an iconview item.
MG_EXPORT int iconview_is_item_hilight(HWND hWnd, GHANDLE hivi)
Uses this to get an iconview item is hilighted or not.
const MG_EXPORT char * iconview_get_item_label(GHANDLE hivi)
Uses this to get text label from an iconview item.