/[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 37 by werner, Thu Oct 27 19:12:40 2005 UTC revision 143 by twoaday, Thu Jan 12 16:27:34 2006 UTC
# Line 1  Line 1 
1  /* wptCommonCtl.h - Win32 Imagelist headerfile  /* wptCommonCtl.h - Win32 Imagelist headerfile
2   *      Copyright (C) 2003 Andreas Jobs   *      Copyright (C) 2003 Andreas Jobs
3   *      Copyright (C) 2004, 2005 Timo Schulz   *      Copyright (C) 2004, 2005, 2006 Timo Schulz
4   *   *
5   * This file is part of WinPT.   * This file is part of WinPT.
6   *   *
# Line 26  Line 26 
26    
27  /* Symbol constants for the toolbar. */  /* Symbol constants for the toolbar. */
28  enum km_sym_tid_t {  enum km_sym_tid_t {
29      IMI_KEY_DELETE = 0,      IMI_KEY_NEW=0,  
30        IMI_KEY_DELETE,
31      IMI_KEY_PROPS,      IMI_KEY_PROPS,
32      IMI_KEY_SIGN,      IMI_KEY_SIGN,
33        IMI_KEY_SEARCH,
34        IMI_KEY_FILE_IMPORT,
35        IMI_KEY_FILE_EXPORT,
36      IMI_KEY_IMPORT,      IMI_KEY_IMPORT,
37      IMI_KEY_EXPORT,      IMI_KEY_EXPORT,    
38      IMI_SORT_UPARROW,      IMI_SORT_UPARROW,
39      IMI_SORT_DOWNARROW,      IMI_SORT_DOWNARROW,
40      IMI_EXIT,      IMI_EXIT,
# Line 56  struct listview_ctrl_s { Line 60  struct listview_ctrl_s {
60      HWND ctrl;          /* the actual listview window. */      HWND ctrl;          /* the actual listview window. */
61      int cols;           /* number of columns. */      int cols;           /* number of columns. */
62      int items;          /* number of items. */      int items;          /* number of items. */
63        HIMAGELIST hil;     /* Imagelist context. */
64  };  };
65  typedef struct listview_ctrl_s * listview_ctrl_t;  typedef struct listview_ctrl_s * listview_ctrl_t;
66    
# Line 82  void listview_set_ext_style (listview_ct Line 87  void listview_set_ext_style (listview_ct
87  int listview_set_column_order (listview_ctrl_t ctx, int *array);  int listview_set_column_order (listview_ctrl_t ctx, int *array);
88  int listview_del_items (listview_ctrl_t ctx);  int listview_del_items (listview_ctrl_t ctx);
89  void listview_select_all (listview_ctrl_t ctx);  void listview_select_all (listview_ctrl_t ctx);
90    void listview_deselect_all (listview_ctrl_t ctx);
91  void listview_select_one (listview_ctrl_t ctx, int pos);  void listview_select_one (listview_ctrl_t ctx, int pos);
92  int listview_find (listview_ctrl_t ctx, const char * str);  int listview_find (listview_ctrl_t ctx, const char * str);
93  void listview_scroll (listview_ctrl_t ctx, int oldpos, int newpos);  void listview_scroll (listview_ctrl_t ctx, int oldpos, int newpos);
94    int listview_del_column (listview_ctrl_t ctx, int pos);
95    int listview_add_item_image (listview_ctrl_t ctx, const char *text, int image);
96    void listview_set_image_list (listview_ctrl_t ctx, HICON *ico, DWORD nicons);
97    
98  /*-- Image List --*/  /*-- Image List --*/
99  extern HIMAGELIST glob_imagelist;  extern HIMAGELIST glob_imagelist;

Legend:
Removed from v.37  
changed lines
  Added in v.143

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26