/[winpt]/trunk/Include/wptCommonCtl.h
ViewVC logotype

Diff of /trunk/Include/wptCommonCtl.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 22 by twoaday, Wed Aug 10 11:33:35 2005 UTC revision 23 by twoaday, Fri Sep 30 10:10:16 2005 UTC
# Line 24  Line 24 
24    
25  #include <commctrl.h>  #include <commctrl.h>
26    
27    /* Symbol constants for the toolbar. */
28  enum {  enum {
29      IMI_KEY_DELETE = 0,      IMI_KEY_DELETE = 0,
30      IMI_KEY_PROPS,      IMI_KEY_PROPS,
# Line 41  enum { Line 42  enum {
42    
43  typedef int (CALLBACK *listview_cmp) (LPARAM lParam1, LPARAM lParam2,  typedef int (CALLBACK *listview_cmp) (LPARAM lParam1, LPARAM lParam2,
44                                        LPARAM lParamSort);                                        LPARAM lParamSort);
45    
46    /* Listview column. */
47  struct listview_column_s {  struct listview_column_s {
48      int pos;      int pos;                /* position of the column. */
49      int width;      int width;              /* width of the column. */
50      char *fieldname;      char *fieldname;        /* name of the column. */
51  };  };
52  typedef struct listview_column_s * listview_column_t;  typedef struct listview_column_s * listview_column_t;
53    
54    /* Listview control context. */
55  struct listview_ctrl_s {  struct listview_ctrl_s {
56      HWND ctrl;      HWND ctrl;          /* the actual listview window. */
57      int cols;      int cols;           /* number of columns. */
58      int items;      int items;          /* number of items. */
59  };  };
60  typedef struct listview_ctrl_s * listview_ctrl_t;  typedef struct listview_ctrl_s * listview_ctrl_t;
61    
# Line 85  void listview_scroll (listview_ctrl_t ct Line 89  void listview_scroll (listview_ctrl_t ct
89  /*-- Image List --*/  /*-- Image List --*/
90  extern HIMAGELIST glob_imagelist;  extern HIMAGELIST glob_imagelist;
91    
   
   
   
92  int imagelist_load (HWND hwnd);  int imagelist_load (HWND hwnd);
93  int imagelist_destroy (void);  int imagelist_destroy (void);
94  int imagelist_getindex (int icon);  int imagelist_getindex (int icon);

Legend:
Removed from v.22  
changed lines
  Added in v.23

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26