Mercurial > dwindows
comparison dw.h @ 69:9510897c0b03
Added new container functions, and implemented some missing functionality.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 04 Feb 2002 16:04:43 +0000 |
parents | ab9b0fa6c66e |
children | 5e7a4d93d8d7 |
comparison
equal
deleted
inserted
replaced
68:8d6100960adf | 69:9510897c0b03 |
---|---|
94 #define DW_CFA_SEPARATOR CFA_SEPARATOR | 94 #define DW_CFA_SEPARATOR CFA_SEPARATOR |
95 | 95 |
96 #define DW_CA_DETAILSVIEWTITLES CA_DETAILSVIEWTITLES | 96 #define DW_CA_DETAILSVIEWTITLES CA_DETAILSVIEWTITLES |
97 #define DW_CV_MINI CV_MINI | 97 #define DW_CV_MINI CV_MINI |
98 #define DW_CV_DETAIL CV_DETAIL | 98 #define DW_CV_DETAIL CV_DETAIL |
99 | |
100 #define DW_CRA_SELECTED CRA_SELECTED | |
101 #define DW_CRA_CURSORED CRA_CURSORED | |
99 | 102 |
100 #define DW_SLS_READONLY SLS_READONLY | 103 #define DW_SLS_READONLY SLS_READONLY |
101 #define DW_SLS_RIBBONSTRIP SLS_RIBBONSTRIP | 104 #define DW_SLS_RIBBONSTRIP SLS_RIBBONSTRIP |
102 | 105 |
103 #define DW_CCS_SINGLESEL CCS_SINGLESEL | 106 #define DW_CCS_SINGLESEL CCS_SINGLESEL |
212 #define DW_FCF_HIDEBUTTON WS_MINIMIZEBOX | 215 #define DW_FCF_HIDEBUTTON WS_MINIMIZEBOX |
213 #define DW_FCF_HIDEMAX 0 | 216 #define DW_FCF_HIDEMAX 0 |
214 #define DW_FCF_AUTOICON 0 | 217 #define DW_FCF_AUTOICON 0 |
215 | 218 |
216 #define DW_CFA_BITMAPORICON 1 | 219 #define DW_CFA_BITMAPORICON 1 |
217 #define DW_CFA_STRING 1 << 2 | 220 #define DW_CFA_STRING (1 << 1) |
218 #define DW_CFA_ULONG 1 << 3 | 221 #define DW_CFA_ULONG (1 << 2) |
219 #define DW_CFA_TIME 1 << 4 | 222 #define DW_CFA_TIME (1 << 3) |
220 #define DW_CFA_DATE 1 << 5 | 223 #define DW_CFA_DATE (1 << 4) |
221 #define DW_CFA_CENTER 1 << 6 | 224 #define DW_CFA_CENTER (1 << 5) |
222 #define DW_CFA_LEFT 1 << 7 | 225 #define DW_CFA_LEFT (1 << 6) |
223 #define DW_CFA_RIGHT 1 << 8 | 226 #define DW_CFA_RIGHT (1 << 7) |
224 #define DW_CFA_HORZSEPARATOR 0 | 227 #define DW_CFA_HORZSEPARATOR 0 |
225 #define DW_CFA_SEPARATOR 0 | 228 #define DW_CFA_SEPARATOR 0 |
226 | 229 |
227 #define DW_CA_DETAILSVIEWTITLES 0 | 230 #define DW_CA_DETAILSVIEWTITLES 0 |
228 #define DW_CV_MINI 0 | 231 #define DW_CV_MINI 0 |
229 #define DW_CV_DETAIL 0 | 232 #define DW_CV_DETAIL 0 |
233 | |
234 #define DW_CRA_SELECTED LVNI_SELECTED | |
235 #define DW_CRA_CURSORED LVNI_FOCUSED | |
230 | 236 |
231 #define DW_SLS_READONLY 0 | 237 #define DW_SLS_READONLY 0 |
232 #define DW_SLS_RIBBONSTRIP 0 | 238 #define DW_SLS_RIBBONSTRIP 0 |
233 | 239 |
234 #define DW_CCS_SINGLESEL 0 | 240 #define DW_CCS_SINGLESEL 0 |
436 #define DW_SLS_READONLY 1 | 442 #define DW_SLS_READONLY 1 |
437 #define DW_SLS_RIBBONSTRIP (1 << 1) | 443 #define DW_SLS_RIBBONSTRIP (1 << 1) |
438 | 444 |
439 #define DW_CCS_SINGLESEL 1 | 445 #define DW_CCS_SINGLESEL 1 |
440 #define DW_CCS_EXTENDSEL (1 << 1) | 446 #define DW_CCS_EXTENDSEL (1 << 1) |
447 | |
448 #define DW_CRA_SELECTED 1 | |
449 #define DW_CRA_CURSORED (1 << 1) | |
441 | 450 |
442 #define DW_LS_MULTIPLESEL 1 | 451 #define DW_LS_MULTIPLESEL 1 |
443 | 452 |
444 #define DW_LIT_NONE -1 | 453 #define DW_LIT_NONE -1 |
445 | 454 |
689 void dw_container_delete(HWND handle, int rowcount); | 698 void dw_container_delete(HWND handle, int rowcount); |
690 void dw_container_set_view(HWND handle, unsigned long flags, int iconwidth, int iconheight); | 699 void dw_container_set_view(HWND handle, unsigned long flags, int iconwidth, int iconheight); |
691 char *dw_container_query_start(HWND handle, unsigned long flags); | 700 char *dw_container_query_start(HWND handle, unsigned long flags); |
692 char *dw_container_query_next(HWND handle, unsigned long flags); | 701 char *dw_container_query_next(HWND handle, unsigned long flags); |
693 void dw_container_scroll(HWND handle, int direction, long rows); | 702 void dw_container_scroll(HWND handle, int direction, long rows); |
703 void dw_container_cursor(HWND handle, char *text); | |
704 void dw_container_optimize(HWND handle); | |
694 int dw_filesystem_setup(HWND handle, unsigned long *flags, char **titles, int count); | 705 int dw_filesystem_setup(HWND handle, unsigned long *flags, char **titles, int count); |
695 void dw_filesystem_set_item(HWND handle, void *pointer, int column, int row, void *data); | 706 void dw_filesystem_set_item(HWND handle, void *pointer, int column, int row, void *data); |
696 void dw_filesystem_set_file(HWND handle, void *pointer, int row, char *filename, unsigned long icon); | 707 void dw_filesystem_set_file(HWND handle, void *pointer, int row, char *filename, unsigned long icon); |
697 int dw_screen_width(void); | 708 int dw_screen_width(void); |
698 int dw_screen_height(void); | 709 int dw_screen_height(void); |