Mercurial > projects > dwt-win
comparison README.txt @ 148:029d0df3f515
update readme file
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Wed, 13 Feb 2008 18:45:35 -0800 |
parents | 18ca5d3c6dfc |
children | f8001bf383d2 |
comparison
equal
deleted
inserted
replaced
147:cf66b1446ffe | 148:029d0df3f515 |
---|---|
24 Per default dsss has the option 'oneatatime' enable. | 24 Per default dsss has the option 'oneatatime' enable. |
25 This make dsss to compile one file at a time and building dwt take longer than 15 min. | 25 This make dsss to compile one file at a time and building dwt take longer than 15 min. |
26 Disable this option in the dsss/etc/rebuild/dmd-win-tango file. | 26 Disable this option in the dsss/etc/rebuild/dmd-win-tango file. |
27 Search for it (2 matches) and either delete those lines of change =on to =off. | 27 Search for it (2 matches) and either delete those lines of change =on to =off. |
28 | 28 |
29 In some situations, you may get linker errors when building the dwt examples. | |
30 Try adding the "-full" switch to the dsss command line to fix these errors. | |
31 | |
32 Example: | |
33 | |
34 dsss build -full simple | |
35 | |
29 Subsystem linker option | 36 Subsystem linker option |
30 ======================= | 37 ======================= |
31 For dmd linker 'optlink' there is the option SUBSYSTEM which defines if the executable | 38 For dmd linker 'optlink' there is the option SUBSYSTEM which defines if the executable |
32 shall be a console or windows application and the minimum required windows version (4=win95,5=win2000,6=vista) | 39 shall be a console or windows application and the minimum required windows version (4=win95,5=win2000,6=vista) |
33 -L/SUBSYSTEM:windows:5 | 40 -L/SUBSYSTEM:windows:5 |
34 Without this option, DWT renderes some controls not correctly. Eg. table headers are not shown. | 41 Without this option, DWT renderes some controls not correctly. Eg. table headers are not shown. |
35 | |
36 Themes | |
37 ====== | |
38 To use theming in winxp, there is a manifest necessary. This forces windows to load comctl32.dll | |
39 in version 6 instead of 5. | |
40 Use the resource compiler from visual studio "rc dwt.rc" to get dwt.res | |
41 Link it with -L/RC:dwt.res | |
42 | |
43 | |
44 | 42 |
45 Changes/Additions to SWT | 43 Changes/Additions to SWT |
46 ======================== | 44 ======================== |
47 o MessageBox can be instantiated without parent. Use the Ctor "this( int style )", | 45 o MessageBox can be instantiated without parent. Use the Ctor "this( int style )", |
48 calling the other ctors will still force a non-null parent. | 46 calling the other ctors will still force a non-null parent. |