50 #ifndef EXT_ICONVIEW_H 51 #define EXT_ICONVIEW_H 71 #define CTRL_ICONVIEW ("IconView") 78 #define IV_ERRSPACE (-2) 119 #define IVFLAG_BITMAP 0x0001 121 #define IVFLAG_ICON 0x0002 156 MG_EXPORT
GHANDLE iconview_get_item(
HWND hwnd,
int index);
158 MG_EXPORT
BOOL iconview_set_item_lable(
GHANDLE hivi,
const char* strLable);
174 #define IVS_NOTIFY SVS_NOTIFY 181 #define IVS_UPNOTIFY SVS_UPNOTIFY 188 #define IVS_AUTOSORT SVS_AUTOSORT 195 #define IVS_LOOP SVS_LOOP 222 #define IVM_ADDITEM 0xF300 245 #define IVM_SETITEMSIZE 0xF436 252 #define IVM_RESETCONTENT SVM_RESETCONTENT 257 #define IVM_DELITEM SVM_DELITEM 262 #define IVM_SETITEMDRAW SVM_SETITEMDRAW 267 #define IVM_SETCONTWIDTH SVM_SETCONTWIDTH 272 #define IVM_SETCONTHEIGHT SVM_SETCONTHEIGHT 277 #define IVM_SETITEMOPS SVM_SETITEMOPS 282 #define IVM_GETMARGINS SVM_GETMARGINS 287 #define IVM_SETMARGINS SVM_SETMARGINS 292 #define IVM_GETLEFTMARGIN SVM_GETLEFTMARGIN 297 #define IVM_GETTOPMARGIN SVM_GETTOPMARGIN 302 #define IVM_GETRIGHTMARGIN SVM_GETRIGHTMARGIN 307 #define IVM_GETBOTTOMMARGIN SVM_GETBOTTOMMARGIN 312 #define IVM_GETVISIBLEWIDTH SVM_GETVISIBLEWIDTH 317 #define IVM_GETVISIBLEHEIGHT SVM_GETVISIBLEHEIGHT 322 #define IVM_GETCONTWIDTH SVM_GETCONTWIDTH 327 #define IVM_GETCONTHEIGHT SVM_GETCONTHEIGHT 332 #define IVM_SETCONTRANGE SVM_SETCONTRANGE 337 #define IVM_GETCONTENTX SVM_GETCONTENTX 342 #define IVM_GETCONTENTY SVM_GETCONTENTY 347 #define IVM_SETCONTPOS SVM_SETCONTPOS 352 #define IVM_GETCURSEL SVM_GETCURSEL 357 #define IVM_SELECTITEM SVM_SELECTITEM 362 #define IVM_SHOWITEM SVM_SHOWITEM 367 #define IVM_CHOOSEITEM SVM_CHOOSEITEM 372 #define IVM_SETCURSEL SVM_SETCURSEL 377 #define IVM_SETITEMINIT SVM_SETITEMINIT 382 #define IVM_SETITEMDESTROY SVM_SETITEMDESTROY 387 #define IVM_SETITEMCMP SVM_SETITEMCMP 392 #define IVM_MAKEPOSVISIBLE SVM_MAKEPOSVISIBLE 397 #define IVM_GETHSCROLLVAL SVM_GETHSCROLLVAL 402 #define IVM_GETVSCROLLVAL SVM_GETVSCROLLVAL 407 #define IVM_GETHSCROLLPAGEVAL SVM_GETHSCROLLPAGEVAL 412 #define IVM_GETVSCROLLPAGEVAL SVM_GETVSCROLLPAGEVAL 417 #define IVM_SETSCROLLVAL SVM_SETSCROLLVAL 422 #define IVM_SETSCROLLPAGEVAL SVM_SETSCROLLPAGEVAL 427 #define IVM_SORTITEMS SVM_SORTITEMS 432 #define IVM_GETITEMCOUNT SVM_GETITEMCOUNT 437 #define IVM_GETITEMADDDATA SVM_GETITEMADDDATA 442 #define IVM_SETITEMADDDATA SVM_SETITEMADDDATA 447 #define IVM_REFRESHITEM SVM_REFRESHITEM 452 #define IVM_GETFIRSTVISIBLEITEM SVM_GETFIRSTVISIBLEITEM 465 #define IVN_CLICKED SVN_CLICKED 471 #define IVN_SELCHANGED SVN_SELCHANGED int BOOL
A type definition for boolean value.
MG_EXPORT int iconview_is_item_hilight(HWND hWnd, GHANDLE hivi)
Uses this to get an iconview item is hilighted or not.
MG_EXPORT DWORD iconview_get_item_adddata(GHANDLE hivi)
Uses this to get additional data from an iconview item.
struct _IVITEMINFO IVITEMINFO
GHANDLE HWND
Handle to main window or control.
PVOID GHANDLE
General handle.
MG_EXPORT PBITMAP iconview_get_item_bitmap(GHANDLE hivi)
Uses this to get bitmap handle from an iconview item.
DWORD_PTR DWORD
A unsigned long type definition for pointer precision.
MG_EXPORT const char * iconview_get_item_label(GHANDLE hivi)
Uses this to get text label from an iconview item.
GHANDLE HIVITEM
Icon view item handle.