Mercurial > dwindows
comparison dw.h @ 471:fa05a1a0f9b3
Support for "column-click" signal
Support for windows maximize/minimize in dw_window_new()
Support for STRINGANDICON contained field type.
author | mhessling@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 10 Oct 2003 09:19:25 +0000 |
parents | 935436731b41 |
children | ea099ba917c6 |
comparison
equal
deleted
inserted
replaced
470:6ccac112f1e5 | 471:fa05a1a0f9b3 |
---|---|
44 #define DW_SIGNAL_ITEM_SELECT "tree-select" | 44 #define DW_SIGNAL_ITEM_SELECT "tree-select" |
45 #define DW_SIGNAL_LIST_SELECT "item-select" | 45 #define DW_SIGNAL_LIST_SELECT "item-select" |
46 #define DW_SIGNAL_SET_FOCUS "set-focus" | 46 #define DW_SIGNAL_SET_FOCUS "set-focus" |
47 #define DW_SIGNAL_VALUE_CHANGED "value_changed" | 47 #define DW_SIGNAL_VALUE_CHANGED "value_changed" |
48 #define DW_SIGNAL_SWITCH_PAGE "switch-page" | 48 #define DW_SIGNAL_SWITCH_PAGE "switch-page" |
49 #define DW_SIGNAL_COLUMN_CLICK "click-column" | |
49 | 50 |
50 #if defined(__OS2__) || defined(__WIN32__) || defined(__MAC__) || defined(WINNT) || defined(__EMX__) | 51 #if defined(__OS2__) || defined(__WIN32__) || defined(__MAC__) || defined(WINNT) || defined(__EMX__) |
51 /* OS/2, Windows or MacOS */ | 52 /* OS/2, Windows or MacOS */ |
52 | 53 |
53 #if defined(__IBMC__) && !defined(API) | 54 #if defined(__IBMC__) && !defined(API) |
116 #define DW_FCF_NOMOVEWITHOWNER FCF_NOMOVEWITHOWNER | 117 #define DW_FCF_NOMOVEWITHOWNER FCF_NOMOVEWITHOWNER |
117 #define DW_FCF_SYSMODAL FCF_SYSMODAL | 118 #define DW_FCF_SYSMODAL FCF_SYSMODAL |
118 #define DW_FCF_HIDEBUTTON FCF_HIDEBUTTON | 119 #define DW_FCF_HIDEBUTTON FCF_HIDEBUTTON |
119 #define DW_FCF_HIDEMAX FCF_HIDEMAX | 120 #define DW_FCF_HIDEMAX FCF_HIDEMAX |
120 #define DW_FCF_AUTOICON FCF_AUTOICON | 121 #define DW_FCF_AUTOICON FCF_AUTOICON |
122 #define DW_FCF_MAXIMIZE WS_MAXIMIZED | |
123 #define DW_FCF_MINIMIZE WS_MINIMIZED | |
121 | 124 |
122 #define DW_CFA_BITMAPORICON CFA_BITMAPORICON | 125 #define DW_CFA_BITMAPORICON CFA_BITMAPORICON |
123 #define DW_CFA_STRING CFA_STRING | 126 #define DW_CFA_STRING CFA_STRING |
124 #define DW_CFA_ULONG CFA_ULONG | 127 #define DW_CFA_ULONG CFA_ULONG |
125 #define DW_CFA_TIME CFA_TIME | 128 #define DW_CFA_TIME CFA_TIME |
127 #define DW_CFA_CENTER CFA_CENTER | 130 #define DW_CFA_CENTER CFA_CENTER |
128 #define DW_CFA_LEFT CFA_LEFT | 131 #define DW_CFA_LEFT CFA_LEFT |
129 #define DW_CFA_RIGHT CFA_RIGHT | 132 #define DW_CFA_RIGHT CFA_RIGHT |
130 #define DW_CFA_HORZSEPARATOR CFA_HORZSEPARATOR | 133 #define DW_CFA_HORZSEPARATOR CFA_HORZSEPARATOR |
131 #define DW_CFA_SEPARATOR CFA_SEPARATOR | 134 #define DW_CFA_SEPARATOR CFA_SEPARATOR |
135 #define DW_CFA_STRINGANDICON 0 | |
132 | 136 |
133 #define DW_CRA_SELECTED CRA_SELECTED | 137 #define DW_CRA_SELECTED CRA_SELECTED |
134 #define DW_CRA_CURSORED CRA_CURSORED | 138 #define DW_CRA_CURSORED CRA_CURSORED |
135 | 139 |
136 #define DW_LS_MULTIPLESEL LS_MULTIPLESEL | 140 #define DW_LS_MULTIPLESEL LS_MULTIPLESEL |
285 #define DW_FCF_NOMOVEWITHOWNER 0 | 289 #define DW_FCF_NOMOVEWITHOWNER 0 |
286 #define DW_FCF_SYSMODAL 0 | 290 #define DW_FCF_SYSMODAL 0 |
287 #define DW_FCF_HIDEBUTTON 0 | 291 #define DW_FCF_HIDEBUTTON 0 |
288 #define DW_FCF_HIDEMAX 0 | 292 #define DW_FCF_HIDEMAX 0 |
289 #define DW_FCF_AUTOICON 0 | 293 #define DW_FCF_AUTOICON 0 |
294 #define DW_FCF_MAXIMIZE 0 | |
295 #define DW_FCF_MINIMIZE 0 | |
290 | 296 |
291 #define DW_CFA_BITMAPORICON 1 | 297 #define DW_CFA_BITMAPORICON 1 |
292 #define DW_CFA_STRING (1 << 1) | 298 #define DW_CFA_STRING (1 << 1) |
293 #define DW_CFA_ULONG (1 << 2) | 299 #define DW_CFA_ULONG (1 << 2) |
294 #define DW_CFA_TIME (1 << 3) | 300 #define DW_CFA_TIME (1 << 3) |
295 #define DW_CFA_DATE (1 << 4) | 301 #define DW_CFA_DATE (1 << 4) |
296 #define DW_CFA_CENTER (1 << 5) | 302 #define DW_CFA_CENTER (1 << 5) |
297 #define DW_CFA_LEFT (1 << 6) | 303 #define DW_CFA_LEFT (1 << 6) |
298 #define DW_CFA_RIGHT (1 << 7) | 304 #define DW_CFA_RIGHT (1 << 7) |
305 #define DW_CFA_STRINGANDICON (1 << 8) | |
299 #define DW_CFA_HORZSEPARATOR 0 | 306 #define DW_CFA_HORZSEPARATOR 0 |
300 #define DW_CFA_SEPARATOR 0 | 307 #define DW_CFA_SEPARATOR 0 |
301 | 308 |
302 #define DW_CRA_SELECTED 1 | 309 #define DW_CRA_SELECTED 1 |
303 #define DW_CRA_CURSORED (1 << 1) | 310 #define DW_CRA_CURSORED (1 << 1) |
369 #define DW_FCF_NOMOVEWITHOWNER 0 | 376 #define DW_FCF_NOMOVEWITHOWNER 0 |
370 #define DW_FCF_SYSMODAL 0 | 377 #define DW_FCF_SYSMODAL 0 |
371 #define DW_FCF_HIDEBUTTON WS_MINIMIZEBOX | 378 #define DW_FCF_HIDEBUTTON WS_MINIMIZEBOX |
372 #define DW_FCF_HIDEMAX 0 | 379 #define DW_FCF_HIDEMAX 0 |
373 #define DW_FCF_AUTOICON 0 | 380 #define DW_FCF_AUTOICON 0 |
381 #define DW_FCF_MAXIMIZE WS_MAXIMIZE | |
382 #define DW_FCF_MINIMIZE WS_MINIMIZE | |
374 | 383 |
375 #define DW_CFA_BITMAPORICON 1 | 384 #define DW_CFA_BITMAPORICON 1 |
376 #define DW_CFA_STRING (1 << 1) | 385 #define DW_CFA_STRING (1 << 1) |
377 #define DW_CFA_ULONG (1 << 2) | 386 #define DW_CFA_ULONG (1 << 2) |
378 #define DW_CFA_TIME (1 << 3) | 387 #define DW_CFA_TIME (1 << 3) |
379 #define DW_CFA_DATE (1 << 4) | 388 #define DW_CFA_DATE (1 << 4) |
380 #define DW_CFA_CENTER (1 << 5) | 389 #define DW_CFA_CENTER (1 << 5) |
381 #define DW_CFA_LEFT (1 << 6) | 390 #define DW_CFA_LEFT (1 << 6) |
382 #define DW_CFA_RIGHT (1 << 7) | 391 #define DW_CFA_RIGHT (1 << 7) |
392 #define DW_CFA_STRINGANDICON (1 << 8) | |
383 #define DW_CFA_HORZSEPARATOR 0 | 393 #define DW_CFA_HORZSEPARATOR 0 |
384 #define DW_CFA_SEPARATOR 0 | 394 #define DW_CFA_SEPARATOR 0 |
385 | 395 |
386 #define DW_CRA_SELECTED LVNI_SELECTED | 396 #define DW_CRA_SELECTED LVNI_SELECTED |
387 #define DW_CRA_CURSORED LVNI_FOCUSED | 397 #define DW_CRA_CURSORED LVNI_FOCUSED |
572 #define DW_FCF_NOMOVEWITHOWNER (1 << 14) | 582 #define DW_FCF_NOMOVEWITHOWNER (1 << 14) |
573 #define DW_FCF_SYSMODAL (1 << 15) | 583 #define DW_FCF_SYSMODAL (1 << 15) |
574 #define DW_FCF_HIDEBUTTON (1 << 16) | 584 #define DW_FCF_HIDEBUTTON (1 << 16) |
575 #define DW_FCF_HIDEMAX (1 << 17) | 585 #define DW_FCF_HIDEMAX (1 << 17) |
576 #define DW_FCF_AUTOICON (1 << 18) | 586 #define DW_FCF_AUTOICON (1 << 18) |
587 #define DW_FCF_MAXIMIZE (1 << 19) | |
588 #define DW_FCF_MINIMIZE (1 << 20) | |
577 | 589 |
578 #define DW_CFA_BITMAPORICON 1 | 590 #define DW_CFA_BITMAPORICON 1 |
579 #define DW_CFA_STRING (1 << 1) | 591 #define DW_CFA_STRING (1 << 1) |
580 #define DW_CFA_ULONG (1 << 2) | 592 #define DW_CFA_ULONG (1 << 2) |
581 #define DW_CFA_TIME (1 << 3) | 593 #define DW_CFA_TIME (1 << 3) |
583 #define DW_CFA_CENTER (1 << 5) | 595 #define DW_CFA_CENTER (1 << 5) |
584 #define DW_CFA_LEFT (1 << 6) | 596 #define DW_CFA_LEFT (1 << 6) |
585 #define DW_CFA_RIGHT (1 << 7) | 597 #define DW_CFA_RIGHT (1 << 7) |
586 #define DW_CFA_HORZSEPARATOR (1 << 8) | 598 #define DW_CFA_HORZSEPARATOR (1 << 8) |
587 #define DW_CFA_SEPARATOR (1 << 9) | 599 #define DW_CFA_SEPARATOR (1 << 9) |
600 #define DW_CFA_STRINGANDICON (1 << 10) | |
588 | 601 |
589 #define DW_CRA_SELECTED 1 | 602 #define DW_CRA_SELECTED 1 |
590 #define DW_CRA_CURSORED (1 << 1) | 603 #define DW_CRA_CURSORED (1 << 1) |
591 | 604 |
592 #define DW_LS_MULTIPLESEL 1 | 605 #define DW_LS_MULTIPLESEL 1 |