43 #ifndef _MGUI_WIDGET_ITEM_H 44 #define _MGUI_WIDGET_ITEM_H 56 typedef struct _mItem
mItem;
75 #define NCSF_ITEM_SHIFT 4 81 #define NCSF_ITEM_MASK 0xFFFF 87 #define NCSF_ITEM_NORMAL 0x0000 93 #define NCSF_ITEM_SELECTED 0x0001 99 #define NCSF_ITEM_DISABLED 0x0002 105 #define NCSF_ITEM_USEBITMAP 0x0004 111 #define NCSF_ITEM_USEICON 0x0008 117 #define NCSF_ITEM_IMAGEMASK (NCSF_ITEM_USEBITMAP | NCSF_ITEM_USEICON) 119 #define mItemHeader(className) \ 120 mObjectHeader(className) \ 172 #define mItemClassHeader(clsName, superCls) \ 173 mObjectClassHeader(clsName, superCls) \ 174 BOOL (*setProperty)(clsName*, int id, DWORD value); \ 175 DWORD (*getProperty)(clsName*, int id); \ 176 BOOL (*isSelectedItem)(clsName*); \ 177 BOOL (*isEnabledItem)(clsName*); \ 178 void (*setItemEditor)(clsName*, hEditor editor); \ 179 hEditor (*getItemEditor)(clsName*); \ 180 void (*setItemAddData)(clsName*, DWORD addData); \ 181 DWORD (*getItemAddData)(clsName*); \ 182 void (*setItemImage)(clsName*, DWORD image); \ 183 DWORD (*getItemImage)(clsName*); \ 184 void (*setItemFlags)(clsName*, DWORD flags); \ 185 DWORD (*getItemFlags)(clsName*); \ 186 BOOL (*setItemHeight)(clsName*, int height); \ 187 int (*getItemHeight)(clsName*); \ 188 BOOL (*setItemString)(clsName*, const char* string);\ 189 char* (*getItemString)(clsName*);
The virtual function table of mItemClass.
The structure of mItem. It is the abstract superclass of all items occur within specific controls...