mItemView

Data Structures

Defines

Typedefs

Enumerations

Variables


Detailed Description

Id
mitemview.h 1111 2010-11-29 03:16:54Z xwyan

Copyright (C) 2009 Feynman Software.


Define Documentation

#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 Documentation

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.


Enumeration Type Documentation

The notification code id of mItemView.

Enumerator:
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.

The properties id of mItemView.

Enumerator:
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.


Variable Documentation

The instance of mItemViewClass.

See also:
mItemViewClass
Generated on Fri Jun 10 11:18:06 2011 for New Control Set V1.0.0 API Reference by  doxygen 1.6.3