Copyright (C) 2009 Feynman Software.
#define NCSCTRL_ITEMVIEW NCSCLASSNAME("itemview") |
The name of mItemView control.
Definition at line 43 of file mitemview.h.
#define NCSS_ITEMV_AUTOSORT (0x0002<<NCSS_SWGT_SHIFT) |
Sort items automatically.
Definition at line 91 of file mitemview.h.
#define NCSS_ITEMV_LOOP (0x0004<<NCSS_SWGT_SHIFT) |
Travel all items circularly.
Definition at line 97 of file mitemview.h.
#define NCSS_ITEMV_MULTIPLE (0x0008<<NCSS_SWGT_SHIFT) |
Allow user to select multiple items. Reserved.
Definition at line 109 of file mitemview.h.
#define NCSS_ITEMV_SHIFT (NCSS_SWGT_SHIFT+4) |
The bits used by mItemView in style.
Definition at line 115 of file mitemview.h.
#define NCSS_ITEMV_SINGLE (0x0000<<NCSS_SWGT_SHIFT) |
Only have a selected item simultaneously.
Definition at line 103 of file mitemview.h.
typedef void(* NCS_CB_DRAWITEM)(mItemView *self, HITEM hItem, HDC hdc, RECT *rcDraw) |
The callback of drawing item.
Definition at line 65 of file mitemview.h.
typedef void(* NCS_CB_DSTRITEM)(mItemView *self, HITEM hItem) |
The callback of destroying item.
Definition at line 59 of file mitemview.h.
typedef int(* NCS_CB_INITITEM)(mItemView *self, HITEM hItem) |
The callback of initializing item.
Definition at line 53 of file mitemview.h.
enum mItemViewNotify |
The notification code id of mItemView.
NCSN_ITEMV_CLICKED |
Mouse click. |
NCSN_ITEMV_SELCHANGING |
Changing selected item. |
NCSN_ITEMV_SELCHANGED |
Selected item changed. |
NCSN_ITEMV_ENTER |
ENTER pressed. |
NCSN_ITEMV_SETFOCUS |
Get focus. |
NCSN_ITEMV_KILLFOCUS |
Lost focus. |
NCSN_ITEMV_MAX |
The maximum value of mItemView notification code id. |
Definition at line 553 of file mitemview.h.
enum mItemViewProp |
The properties id of mItemView.
NCSP_ITEMV_DEFITEMHEIGHT |
The default item height. |
NCSP_ITEMV_ITEMCOUNT |
The number of items. |
NCSP_ITEMV_MAX |
The maximum value of mItemView properties id. |
Definition at line 532 of file mitemview.h.
The instance of mItemViewClass.