1 |
/* wptCommonCtl.h - Win32 Imagelist headerfile |
/* wptCommonCtl.h - Win32 Imagelist headerfile |
2 |
* Copyright (C) 2003 Andreas Jobs |
* Copyright (C) 2004-2006, 2009 Timo Schulz |
|
* Copyright (C) 2004, 2005, 2006 Timo Schulz |
|
3 |
* |
* |
4 |
* This file is part of WinPT. |
* This file is part of WinPT. |
5 |
* |
* |
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 |
* General Public License for more details. |
* General Public License for more details. |
|
* |
|
|
* You should have received a copy of the GNU General Public License |
|
|
* along with WinPT; if not, write to the Free Software Foundation, |
|
|
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
15 |
*/ |
*/ |
16 |
|
|
17 |
#ifndef WPT_COMMONCTL_H |
#ifndef WPT_COMMONCTL_H |
83 |
int listview_get_item_text (listview_ctrl_t ctx, int entry, int pos, |
int listview_get_item_text (listview_ctrl_t ctx, int entry, int pos, |
84 |
char *text, int maxbytes); |
char *text, int maxbytes); |
85 |
void listview_set_ext_style (listview_ctrl_t ctx); |
void listview_set_ext_style (listview_ctrl_t ctx); |
86 |
|
void listview_set_grid_style (listview_ctrl_t ctx); |
87 |
void listview_set_chkbox_style (listview_ctrl_t ctx); |
void listview_set_chkbox_style (listview_ctrl_t ctx); |
88 |
int listview_set_column_order (listview_ctrl_t ctx, int *array); |
int listview_set_column_order (listview_ctrl_t ctx, int *array); |
89 |
int listview_set_column_width (listview_ctrl_t ctx, int col, int width); |
int listview_set_column_width (listview_ctrl_t ctx, int col, int width); |
99 |
HICON *ico, DWORD nicons); |
HICON *ico, DWORD nicons); |
100 |
|
|
101 |
/*-- Image List --*/ |
/*-- Image List --*/ |
102 |
extern HIMAGELIST glob_imagelist; |
int imagelist_load (HWND hwnd, HIMAGELIST *r_il); |
103 |
|
int imagelist_destroy (HIMAGELIST il); |
104 |
int imagelist_load (HWND hwnd); |
int imagelist_getindex (HIMAGELIST il, int icon); |
105 |
int imagelist_destroy (void); |
|
106 |
int imagelist_getindex (int icon); |
int b_imagelist_load (HWND hwnd, HIMAGELIST *r_il); |
107 |
|
int b_imagelist_destroy (HIMAGELIST il); |
108 |
|
int b_imagelist_getindex (HIMAGELIST il, int bitmap); |
109 |
|
|
110 |
#endif /*WPT_COMMONCTL_H*/ |
#endif /*WPT_COMMONCTL_H*/ |