1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
|
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Windows Template Library</title>
<style type="text/css">
html, body {
width: 800px;
font-family: Arial;
font-size: 10pt;
}
.wtl10 {
font-family: Arial;
font-size: 12pt;
}
.table1 {
font-family: Arial;
font-size: 10pt;
}
.code1 {
font-family: Courier;
font-size: 10pt;
margin-left:4ch
}
</style>
</head>
<body>
<table class="table1" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td class="wtl10">
<b>Windows Template Library - WTL 10</b>
</td>
<td align=right>
version 10.0.10320 Release (2020-11-15)
</td>
</tr>
<tr>
<td colspan=2><hr></td>
</tr>
<tr>
<td colspan=2>Copyright © 2020 Microsoft Corporation, WTL Team. All rights reserved.</td>
</tr>
<tr>
<td colspan=2><br></td>
</tr>
<tr>
<td colspan=2>
This file is a part of the Windows Template Library.
The use and distribution terms for this software are covered by the<br>
Microsoft Public License (<a target="_blank" href="http://opensource.org/licenses/MS-PL">http://opensource.org/licenses/MS-PL</a>)
which can be found in the file MS-PL.txt at the root folder.
</td>
</tr>
<tr>
<td colspan=2><hr></td>
</tr>
</table>
<p style=margin:0px><br></p>
<p>Welcome to the Windows Template Library, version 10. This document contains the following topics:</p>
<ul>
<li><a href="#Introduction">Introduction</a></li>
<li><a href="#Features and Installation">Features and Installation</a></li>
<li><a href="#Packing List">Packing List</a></li>
<li><a href="#Class Overview">Class Overview</a></li>
<li><a href="#ATL/WTL AppWizard">ATL/WTL AppWizard</a></li>
<li><a href="#WTL in MFC">How to use WTL in an MFC project</a></li>
<li><a href="#WTL Releases">WTL Releases</a></li>
</ul>
<p style=margin:0px><br></p>
<h3 style=margin:0px>Introduction</h3>
<p>
Windows Template Library, or WTL, is a set of
classes that extend ATL to support more complex user interfaces for either
applications or various UI components, while maintaining the big advantage of
ATL - small and fast code. WTL classes were designed to be the best and the
easiest way to implement rich Win32 based UI for ATL based applications,
servers, components, and controls.
</p>
<p>
WTL provides support for implementing many
user interface elements, from frame and popup windows, to MDI, standard and
common controls, common dialogs, property sheets and pages, GDI objects, UI
updating, scrollable windows, splitter windows, command bars, etc. The WTL
classes are mostly templated and use minimal instance data and inline functions.
They were not designed as a framework, so they do not force a particular
application model, and can accommodate any. The classes do not use hooks or
thread local storage, so they have no restrictions that those techniques impose.
They also have no inter-dependencies and can be freely mixed with straight SDK
code. In summary, WTL delivers very small and efficient code, very close in size
and speed to SDK programs, while presenting a more logical, object oriented
model to a programmer.
</p>
<p style=margin:0px><br></p>
<h3 style=margin:0px><a name="Features and Installation"></a>Features and Installation</h3>
<p>
This is the ninth public release of WTL. This version is released
under the Microsoft Public License, enabling developers from the WTL community to
contribute to the library.
</p>
<p>
WTL classes can be used with all versions of VC++ from 2005 to the newest, 2019.
AppWizard for Visual Studio is included.
</p>
<p>
The WTL classes are provided in header files located in the include directory.
The only header files that must be included is atlapp.h, while others can be used when needed.
The name of the file doesn't mean that you have to create an application, just that
atlapp.h contains base definitions required for WTL projects.
</p>
<p>
To install WTL, just copy the whole directory structure, or unpack the archive file,
to the location of your choice. Please be sure to <b>add the WTL\include directory</b>
to the list of include directories in VC++, so that the compiler
can find them when you include them in your projects.
</p>
<p>
Setup programs for the AppWizard are provided. After executing the setup script,
ATL/WTL AppWizard will appear in the list of AppWizards when you select File.New.Project
in VC++ IDE. The file AppWiz\setup.js is the setup script for all supported versions of Visual Studio.
</p>
<p>
To manually install AppWizard for VC++ 2005, copy all WTLAppWiz.* files from AppWiz\Files to VC++
projects directory, %VCDIR%\VC\vcprojects, where %VCDIR% is the directory
where VC++ 2005 is installed. After that, open WTL10AppWiz.vsz and modify the
line that contains ABSOLUTE_PATH to contain %WTLDIR%\AppWiz\Files, where
%WTLDIR% is the directory where WTL files are.
</p>
<p style=margin:0px>Compiler/IDE/ATL support:</p>
<ul style=margin:0px>
<li>Visual C++ 2005 (ATL 8.0)</li>
<li>Visual C++ 2008 (ATL 9.0)</li>
<li>Visual C++ 2010 (ATL 10.0)</li>
<li>Visual C++ 2012 (ATL 11.0)</li>
<li>Visual C++ 2013 (ATL 12.0)</li>
<li>Visual C++ 2015 (ATL 14.0)</li>
<li>Visual C++ 2017 (ATL 14.0)</li>
<li>Visual C++ 2019 (ATL 14.0)</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Windows SDK support (optional):</p>
<ul style=margin:0px>
<li>Windows SDK 6.0 or newer</li>
</ul>
<p>
Note: Visual C++ 2005 is the only version that requires use of external Windows SDK,
all other versions of Visual C++ can use bundled Windows SDK.
</p>
<p style=margin:0px><br></p>
<p style=margin:0px><br></p>
<h3 style=margin:0px><a name="Packing List"></a>Packing List</h3>
<p style=margin:0px><br></p>
<table class="table1" border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="65%">
<tr>
<td width="30%">File Name:</td>
<td>Description:</td>
</tr>
<tr>
<td colspan="2"><hr></td>
</tr>
<tr>
<td>readme.html</td>
<td>this file</td>
</tr>
<tr>
<td>MS-PL.txt</td>
<td>Microsoft Public License</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2">include\</td>
</tr>
<tr>
<td> atlapp.h</td>
<td>message loop, interfaces,
general app stuff</td>
</tr>
<tr>
<td> atlcrack.h</td>
<td>message cracker macros</td>
</tr>
<tr>
<td> atlctrls.h</td>
<td>standard and common control
classes</td>
</tr>
<tr>
<td> atlctrlw.h</td>
<td>command bar class</td>
</tr>
<tr>
<td> atlctrlx.h</td>
<td>bitmap button, check list view,
and other controls</td>
</tr>
<tr>
<td> atlddx.h</td>
<td>data exchange for dialogs and
windows</td>
</tr>
<tr>
<td> atldlgs.h</td>
<td>common dialog classes, property
sheet and page classes</td>
</tr>
<tr>
<td> atldwm.h</td>
<td>DWM support classes</td>
</tr>
<tr>
<td> atlfind.h</td>
<td>Find/Replace support for Edit
and RichEdit</td>
</tr>
<tr>
<td> atlframe.h</td>
<td>frame window classes, MDI,
update UI classes</td>
</tr>
<tr>
<td> atlgdi.h</td>
<td>DC classes, GDI object classes</td>
</tr>
<tr>
<td> atlmisc.h</td>
<td>WTL ports of CPoint, CRect,
CSize, CString, etc.</td>
</tr>
<tr>
<td> atlprint.h</td>
<td>printing and print preview</td>
</tr>
<tr>
<td> atlres.h</td>
<td>standard resource IDs</td>
</tr>
<tr>
<td> atlribbon.h</td>
<td>RibbonUI support</td>
</tr>
<tr>
<td> atlscrl.h</td>
<td>scrollable windows</td>
</tr>
<tr>
<td> atlsplit.h</td>
<td>splitter windows</td>
</tr>
<tr>
<td> atltheme.h</td>
<td>Windows XP theme classes</td>
</tr>
<tr>
<td> atluser.h</td>
<td>menu class, USER object classes</td>
</tr>
<tr>
<td> atlwinx.h</td>
<td>extensions of ATL windowing
support</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2">Samples\</td>
</tr>
<tr>
<td> Aero\...</td>
<td>Vista Aero glass showcase</td>
</tr>
<tr>
<td> Alpha\...</td>
<td>Windows XP 32-bit (alpha)
toolbar images</td>
</tr>
<tr>
<td> BmpView\...</td>
<td>bitmap file view sample</td>
</tr>
<tr>
<td> GuidGen\...</td>
<td>WTL version of the GuidGen
sample</td>
</tr>
<tr>
<td> MDIDocVw\...</td>
<td>WTL version of the MDI sample</td>
</tr>
<tr>
<td> MemDlg\...</td>
<td>In-memory dialog sample</td>
</tr>
<tr>
<td> MTPad\...</td>
<td>multithreaded notepad sample</td>
</tr>
<tr>
<td> MTPad7\...</td>
<td>MTPad with RibbonUI</td>
</tr>
<tr>
<td> TabBrowser\...</td>
<td>Web browser using TabView</td>
</tr>
<tr>
<td> Wizard97Test\...</td>
<td>Wizard97 showcase
sample</td>
</tr>
<tr>
<td> WTLExplorer\...</td>
<td>Explorer-like application
sample</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2">AppWiz\</td>
</tr>
<tr>
<td> setup.js</td>
<td>AppWizard setup program for all versions of
Visual Studio</td>
</tr>
<tr>
<td> Files\...</td>
<td>WTL AppWizard files</td>
</tr>
</table>
<p style=margin:0px><br></p>
<p style=margin:0px><br></p>
<h3 style=margin:0px><a name="Class Overview"></a>Class Overview</h3>
<p style=margin:0px><br></p>
<p style=margin:0px>usage:</p>
<table class="table1" style=margin-left:6ch border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="65%">
<tr>
<td width="12%"><b>mi base</b></td>
<td>- a base class (multiple inheritance)</td>
</tr>
<tr>
<td><b>client</b></td>
<td>- wrapper class for a handle</td>
</tr>
<tr>
<td><b>as-is</b></td>
<td>- to be used directly</td>
</tr>
<tr>
<td><b>impl</b></td>
<td>- implements a window (has WindowProc) or other support</td>
</tr>
<tr>
<td><b>helper</b></td>
<td>- a helper class</td>
</tr>
<tr>
<td><b>base</b></td>
<td>- implementation base class</td>
</tr>
</table>
<p style=margin:0px><br></p>
<table class="table1" border="1" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="75%">
<tr>
<td width="37%"><b>class name:</b></td>
<td width="20%"><b>usage:</b></td>
<td><b>description:</b></td>
</tr>
<tr>
<td colspan="3"><br>App/module support</td>
</tr>
<tr>
<td><b>CAppModule</b></td>
<td>as-is</td>
<td>app support, CComModule derived</td>
</tr>
<tr>
<td><b>CServerAppModule</b></td>
<td>as-is</td>
<td>module for COM servers</td>
</tr>
<tr>
<td><b>CMessageLoop</b></td>
<td>as-is</td>
<td>message loop</td>
</tr>
<tr>
<td><b>CMessageFilter</b></td>
<td>mi base</td>
<td>message filter interface</td>
</tr>
<tr>
<td><b>CIdleHandler</b></td>
<td>mi base</td>
<td>idle time handler interface</td>
</tr>
<tr>
<td colspan="3"><br>Frame windows</td>
</tr>
<tr>
<td><b>CFrameWindowImplBase</b></td>
<td>base</td>
<td> </td>
</tr>
<tr>
<td><b>CFrameWindowImpl</b></td>
<td>impl</td>
<td>frame window support</td>
</tr>
<tr>
<td><b>COwnerDraw</b></td>
<td>impl mi base</td>
<td>owner-draw msg map and handlers</td>
</tr>
<tr>
<td><b>CDialogResize
</b></td>
<td>impl mi base</td>
<td>support for resizing dialogs</td>
</tr>
<tr>
<td><b>CDoubleBufferImpl
</b></td>
<td>impl mi</td>
<td>double-buffer painting support</td>
</tr>
<tr>
<td><b>CDoubleBufferWindowImpl
</b></td>
<td>impl</td>
<td>double-buffer painting window</td>
</tr>
<tr>
<td colspan="3"><br>MDI windows</td>
</tr>
<tr>
<td><b>CMDIWindow</b></td>
<td>client</td>
<td>MDI methods</td>
</tr>
<tr>
<td><b>CMDIFrameWindowImpl</b></td>
<td>impl</td>
<td>MDI frame window</td>
</tr>
<tr>
<td><b>CMDIChildWindowImpl</b></td>
<td>impl</td>
<td>MDI child window</td>
</tr>
<tr>
<td colspan="3"><br>Update UI</td>
</tr>
<tr>
<td><b>CUpdateUIBase</b></td>
<td>base</td>
<td> </td>
</tr>
<tr>
<td><b>CUpdateUI</b></td>
<td>mi base class</td>
<td>provides support for UI update</td>
</tr>
<tr>
<td><b>CDynamicUpdateUI</b></td>
<td>mi base class</td>
<td>provides dynamic support for UI update</td>
</tr>
<tr>
<td colspan="3"><br>Standard controls</td>
</tr>
<tr>
<td><b>CStatic</b></td>
<td>client</td>
<td>static ctrl</td>
</tr>
<tr>
<td><b>CButton</b></td>
<td>client</td>
<td>button ctrl</td>
</tr>
<tr>
<td><b>CListBox</b></td>
<td>client</td>
<td>list box ctrl</td>
</tr>
<tr>
<td><b>CComboBox</b></td>
<td>client</td>
<td>combo box ctrl</td>
</tr>
<tr>
<td><b>CEdit</b></td>
<td>client</td>
<td>edit ctrl</td>
</tr>
<tr>
<td><b>CEditCommands</b></td>
<td>mi</td>
<td>standard edit command support</td>
</tr>
<tr>
<td><b>CScrollBar</b></td>
<td>client</td>
<td>scroll bar ctrl</td>
</tr>
<tr>
<td colspan="3"><br>Common controls</td>
</tr>
<tr>
<td><b>CImageList</b></td>
<td>client</td>
<td>image list</td>
</tr>
<tr>
<td><b>CListViewCtrl</b></td>
<td>client</td>
<td>list view ctrl</td>
</tr>
<tr>
<td><b>CTreeViewCtrl</b></td>
<td>client</td>
<td>tree view ctrl</td>
</tr>
<tr>
<td><b>CTreeItem</b></td>
<td>helper</td>
<td> </td>
</tr>
<tr>
<td><b>CTreeViewCtrlEx</b></td>
<td>client</td>
<td>uses CTreeItem</td>
</tr>
<tr>
<td><b>CHeaderCtrl</b></td>
<td>client</td>
<td>header bar ctrl</td>
</tr>
<tr>
<td><b>CToolBarCtrl</b></td>
<td>client</td>
<td>toolbar ctrl</td>
</tr>
<tr>
<td><b>CStatusBarCtrl</b></td>
<td>client</td>
<td>status bar ctrl</td>
</tr>
<tr>
<td><b>CTabCtrl</b></td>
<td>client</td>
<td>tab ctrl</td>
</tr>
<tr>
<td><b>CToolTipCtrl</b></td>
<td>client</td>
<td>tool tip ctrl</td>
</tr>
<tr>
<td><b>CToolInfo</b></td>
<td>helper</td>
<td> </td>
</tr>
<tr>
<td><b>CTrackBarCtrl</b></td>
<td>client</td>
<td>trackbar ctrl</td>
</tr>
<tr>
<td><b>CUpDownCtrl</b></td>
<td>client</td>
<td>up-down ctrl</td>
</tr>
<tr>
<td><b>CProgressBarCtrl</b></td>
<td>client</td>
<td>progress bar ctrl</td>
</tr>
<tr>
<td><b>CHotKeyCtrl</b></td>
<td>client</td>
<td>hot key ctrl</td>
</tr>
<tr>
<td><b>CAnimateCtrl</b></td>
<td>client</td>
<td>animation ctrl</td>
</tr>
<tr>
<td><b>CRichEditCtrl</b></td>
<td>client</td>
<td>rich edit ctrl</td>
</tr>
<tr>
<td><b>CRichEditCommands</b></td>
<td>mi</td>
<td>std rich edit commands support</td>
</tr>
<tr>
<td><b>CDragListBox</b></td>
<td>client</td>
<td>drag list box</td>
</tr>
<tr>
<td><b>CDragListNotifyImpl</b></td>
<td>impl mi class</td>
<td>support for notifications</td>
</tr>
<tr>
<td><b>CReBarCtrl</b></td>
<td>client</td>
<td>rebar ctrl</td>
</tr>
<tr>
<td><b>CComboBoxEx</b></td>
<td>client</td>
<td>extended combo box</td>
</tr>
<tr>
<td><b>CDateTimePickerCtrl</b></td>
<td>client</td>
<td>date-time ctrl</td>
</tr>
<tr>
<td><b>CFlatScrollBarImpl</b></td>
<td>mi impl</td>
<td>flat scroll bars support</td>
</tr>
<tr>
<td><b>CFlatScrollBar</b></td>
<td>as-is</td>
<td>flat scroll bars support</td>
</tr>
<tr>
<td><b>CIPAddressCtrl</b></td>
<td>client</td>
<td>IP address ctrl</td>
</tr>
<tr>
<td><b>CMonthCalendarCtrl</b></td>
<td>client</td>
<td>month calendar ctrl</td>
</tr>
<tr>
<td><b>CCustomDraw</b></td>
<td>impl mi class</td>
<td>custom draw handling support</td>
</tr>
<tr>
<td colspan="3"><br>Property sheet & page</td>
</tr>
<tr>
<td><b>CPropertySheetWindow</b></td>
<td>client</td>
<td> </td>
</tr>
<tr>
<td><b>CPropertySheetImpl</b></td>
<td>impl</td>
<td>property sheet </td>
</tr>
<tr>
<td><b>CPropertySheet</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CPropertyPageWindow</b></td>
<td>client</td>
<td> </td>
</tr>
<tr>
<td><b>CPropertyPageImpl</b></td>
<td>impl</td>
<td>property page</td>
</tr>
<tr>
<td><b>CPropertyPage</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CAxPropertyPageImpl</b></td>
<td>impl</td>
<td>property page with ActiveX</td>
</tr>
<tr>
<td><b>CAxPropertyPage</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CWizard97SheetWindow</b></td>
<td>client</td>
<td> </td>
</tr>
<tr>
<td><b>CWizard97SheetImpl</b></td>
<td>impl</td>
<td>Wizard97 property sheet</td>
</tr>
<tr>
<td><b>CWizard97Sheet</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CWizard97PageWindow</b></td>
<td>client</td>
<td> </td>
</tr>
<tr>
<td><b>CWizard97PageImpl</b></td>
<td>impl</td>
<td>Wizard97 property page</td>
</tr>
<tr>
<td><b>CWizard97ExteriorPageImpl</b></td>
<td>impl</td>
<td>Wizard97 exterior page</td>
</tr>
<tr>
<td><b>CWizard97InteriorPageImpl</b></td>
<td>impl</td>
<td>Wizard97 interior page</td>
</tr>
<tr>
<td><b>CAeroWizardFrameWindow</b></td>
<td>client</td>
<td> </td>
</tr>
<tr>
<td><b>CAeroWizardFrameImpl</b></td>
<td>impl</td>
<td>Aero Wizard frame</td>
</tr>
<tr>
<td><b>CAeroWizardFrame</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CAeroWizardPageWindow</b></td>
<td>client</td>
<td> </td>
</tr>
<tr>
<td><b>CAeroWizardPageImpl</b></td>
<td>impl</td>
<td>Aero Wizard page</td>
</tr>
<tr>
<td><b>CAeroWizardPage</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CAeroWizardAxPageImpl</b></td>
<td>impl</td>
<td>Aero Wizard page with ActiveX</td>
</tr>
<tr>
<td><b>CAeroWizardAxPage</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td colspan="3"><br>Common dialogs</td>
</tr>
<tr>
<td><b>CFileDialogImpl</b></td>
<td>impl</td>
<td>GetOpenFileName/GetSaveFileName</td>
</tr>
<tr>
<td><b>CFileDialog</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CSimpleFileDialog</b></td>
<td>as-is</td>
<td>no customization</td>
</tr>
<tr>
<td><b>CMultiFileDialogImpl</b></td>
<td>impl</td>
<td>Multi-select GetOpenFileName</td>
</tr>
<tr>
<td><b>CMultiFileDialog</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CShellFileDialogImpl</b></td>
<td>base</td>
<td> </td>
</tr>
<tr>
<td><b>CShellFileOpenDialogImpl</b></td>
<td>impl</td>
<td>Shell File Open dialog</td>
</tr>
<tr>
<td><b>CShellFileOpenDialog</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CShellFileSaveDialogImpl</b></td>
<td>impl</td>
<td>Shell File Save dialog</td>
</tr>
<tr>
<td><b>CShellFileSaveDialog</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CFolderDialogImpl</b></td>
<td>impl</td>
<td>directory picker</td>
</tr>
<tr>
<td><b>CFolderDialog</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CFontDialogImpl</b></td>
<td>impl</td>
<td>ChooseFont common dialog</td>
</tr>
<tr>
<td><b>CFontDialog</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CRichEditFontDialogImpl</b></td>
<td>impl</td>
<td>ChooseFont for rich edit</td>
</tr>
<tr>
<td><b>CRichEditFontDialog</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CColorDialogImpl</b></td>
<td>impl</td>
<td>ChooseColor common dialog</td>
</tr>
<tr>
<td><b>CColorDialog</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CPrintDialogImpl</b></td>
<td>impl</td>
<td>PrintDlg common dialog</td>
</tr>
<tr>
<td><b>CPrintDialog</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CPrintDialogExImpl</b></td>
<td>impl</td>
<td>new Win2000 print dialog</td>
</tr>
<tr>
<td><b>CPrintDialogEx</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CPageSetupDialogImpl</b></td>
<td>impl</td>
<td>PageSetupDlg common dialog</td>
</tr>
<tr>
<td><b>CPageSetupDialog</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CFindReplaceDialogImpl</b></td>
<td>impl</td>
<td>FindText/ReplaceText</td>
</tr>
<tr>
<td><b>CFindReplaceDialog</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td colspan="3"><br>User support</td>
</tr>
<tr>
<td><b>CMenu</b></td>
<td>client</td>
<td>menu support</td>
</tr>
<tr>
<td><b>CMenuItemInfo</b></td>
<td>as-is</td>
<td>MENUITEMINFO wrapper</td>
</tr>
<tr>
<td><b>CAccelerator</b></td>
<td>client</td>
<td>accelerator table</td>
</tr>
<tr>
<td><b>CIcon</b></td>
<td>client</td>
<td>icon object</td>
</tr>
<tr>
<td><b>CCursor</b></td>
<td>client</td>
<td>cursor object</td>
</tr>
<tr>
<td><b>CResource</b></td>
<td>client</td>
<td>generic resource object</td>
</tr>
<tr>
<td colspan="3"><br>GDI support</td>
</tr>
<tr>
<td><b>CDC</b></td>
<td>client</td>
<td>DC support</td>
</tr>
<tr>
<td><b>CPaintDC</b></td>
<td>client</td>
<td>for handling WM_PAINT</td>
</tr>
<tr>
<td><b>CClientDC</b></td>
<td>client</td>
<td>for GetDC</td>
</tr>
<tr>
<td><b>CWindowDC</b></td>
<td>client</td>
<td>for GetWindowDC</td>
</tr>
<tr>
<td><b>CMemoryDC</b></td>
<td>client</td>
<td>in-memory DC</td>
</tr>
<tr>
<td><b>CPen</b></td>
<td>client</td>
<td>GDI pen object</td>
</tr>
<tr>
<td><b>CBrush</b></td>
<td>client</td>
<td>GDI brush object</td>
</tr>
<tr>
<td><b>CLogFont</b></td>
<td>as-is</td>
<td>LOGFONT wrapper</td>
</tr>
<tr>
<td><b>CFont</b></td>
<td>client</td>
<td>GDI font object</td>
</tr>
<tr>
<td><b>CBitmap</b></td>
<td>client</td>
<td>GDI bitmap object</td>
</tr>
<tr>
<td><b>CPalette</b></td>
<td>client</td>
<td>GDI palette object</td>
</tr>
<tr>
<td><b>CRgn</b></td>
<td>client</td>
<td>GDI region object</td>
</tr>
<tr>
<td colspan="3"><br>Enhanced controls</td>
</tr>
<tr>
<td><b>CCommandBarCtrlImpl</b></td>
<td>impl</td>
<td>command bar</td>
</tr>
<tr>
<td><b>CCommandBarCtrl</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CBitmapButtonImpl</b></td>
<td>impl</td>
<td>bitmap button</td>
</tr>
<tr>
<td><b>CBitmapButton</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CCheckListViewCtrlImpl</b></td>
<td>impl</td>
<td>check list box</td>
</tr>
<tr>
<td><b>CCheckListViewCtrl</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CHyperLinkImpl</b></td>
<td>impl</td>
<td>hyper link control</td>
</tr>
<tr>
<td><b>CHyperLink</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CWaitCursor</b></td>
<td>as-is</td>
<td>wait cursor</td>
</tr>
<tr>
<td><b>CCustomWaitCursor</b></td>
<td>as-is</td>
<td>custom and animated wait cursor</td>
</tr>
<tr>
<td><b>CMultiPaneStatusBarCtrlImpl</b></td>
<td>impl</td>
<td>status bar with multiple panes</td>
</tr>
<tr>
<td><b>CMultiPaneStatusBarCtrl</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CPaneContainerImpl</b></td>
<td>impl</td>
<td>pane window container</td>
</tr>
<tr>
<td><b>CPaneContainer</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CSortListViewImpl</b></td>
<td>impl</td>
<td>sorting list view control</td>
</tr>
<tr>
<td><b>CSortListViewCtrlImpl</b></td>
<td>impl</td>
<td> </td>
</tr>
<tr>
<td><b>CSortListViewCtrl</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CTabViewImpl;</b></td>
<td>impl</td>
<td>tab view window</td>
</tr>
<tr>
<td><b>CTabView</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td colspan="3"><br>Scrolling window support</td>
</tr>
<tr>
<td><b>CScrollImpl</b></td>
<td>impl mi</td>
<td>scrolling support</td>
</tr>
<tr>
<td><b>CScrollWindowImpl</b></td>
<td>impl</td>
<td>scrollable window</td>
</tr>
<tr>
<td><b>CMapScrollImpl</b></td>
<td>impl mi</td>
<td>scrolling support with map modes</td>
</tr>
<tr>
<td><b>CMapScrollWindowImpl</b></td>
<td>impl</td>
<td>scrollable window with map modes</td>
</tr>
<tr>
<td><b>CZoomScrollImpl</b></td>
<td>impl mi</td>
<td>zooming support</td>
</tr>
<tr>
<td><b>CZoomScrollWindowImpl</b></td>
<td>impl</td>
<td>zooming window</td>
</tr>
<tr>
<td><b>CScrollContainerImpl</b></td>
<td>impl</td>
<td>scroll container window</td>
</tr>
<tr>
<td><b>CScrollContainer</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td colspan="3"><br>Splitter window support</td>
</tr>
<tr>
<td><b>CSplitterImpl</b></td>
<td>impl mi</td>
<td>splitter support</td>
</tr>
<tr>
<td><b>CSplitterWindowImpl</b></td>
<td>impl</td>
<td>splitter window</td>
</tr>
<tr>
<td><b>CSplitterWindow</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td colspan="3"><br>Theming support</td>
</tr>
<tr>
<td><b>CTheme</b></td>
<td>client</td>
<td>Windows XP theme</td>
</tr>
<tr>
<td><b>CThemeImpl</b></td>
<td>impl</td>
<td>theming support for a window</td>
</tr>
<tr>
<td colspan="3"><br>Buffered paint and animation support</td>
</tr>
<tr>
<td><b>CBufferedPaint</b></td>
<td>as-is</td>
<td>buffered paint</td>
</tr>
<tr>
<td><b>CBufferedPaintImpl</b></td>
<td>impl mi</td>
<td>buffered paint support</td>
</tr>
<tr>
<td><b>CBufferedPaintWindowImpl</b></td>
<td>impl</td>
<td>window with buffered paint</td>
</tr>
<tr>
<td><b>CBufferedAnimation</b></td>
<td>as-is</td>
<td>buffered animation</td>
</tr>
<tr>
<td><b>CBufferedAnimationImpl</b></td>
<td>impl mi</td>
<td>buffered animation support</td>
</tr>
<tr>
<td><b>CBufferedAnimationWindowImpl</b></td>
<td>impl</td>
<td>window with buffered animation</td>
</tr>
<tr>
<td colspan="3"><br>Edit and RichEdit Find/Replace support</td>
</tr>
<tr>
<td><b>CEditFindReplaceImplBase</b></td>
<td>base</td>
<td> </td>
</tr>
<tr>
<td><b>CEditFindReplaceImpl</b></td>
<td>mi</td>
<td>Edit Find/Replace support</td>
</tr>
<tr>
<td><b>CRichEditFindReplaceImpl</b></td>
<td>mi</td>
<td>RichEdit Find/Replace support</td>
</tr>
<tr>
<td colspan="3"><br>Printing support</td>
</tr>
<tr>
<td><b>CPrinterInfo</b></td>
<td>as-is</td>
<td>print info support</td>
</tr>
<tr>
<td><b>CPrinter</b></td>
<td>client</td>
<td>printer handle wrapper</td>
</tr>
<tr>
<td><b>CDevMode</b></td>
<td>client</td>
<td>DEVMODE wrapper</td>
</tr>
<tr>
<td><b>CPrinterDC</b></td>
<td>client</td>
<td>printing DC support</td>
</tr>
<tr>
<td><b>CPrintJobInfo</b></td>
<td>client</td>
<td>print job info</td>
</tr>
<tr>
<td><b>CPrintJob</b></td>
<td>client</td>
<td>print job support</td>
</tr>
<tr>
<td><b>CPrintPreview</b></td>
<td>mi</td>
<td>print preview support</td>
</tr>
<tr>
<td><b>CPrintPreviewWindowImpl</b></td>
<td>impl</td>
<td>print preview window</td>
</tr>
<tr>
<td><b>CPrintPreviewWindow</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td><b>CZoomPrintPreviewWindowImpl</b></td>
<td>impl</td>
<td>zooming print preview window</td>
</tr>
<tr>
<td><b>CZoomPrintPreviewWindow</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td colspan="3"><br>Miscellaneous</td>
</tr>
<tr>
<td><b>CWinDataExchange</b></td>
<td>mi</td>
<td>data exchange for controls</td>
</tr>
<tr>
<td><b>CRecentDocumentList</b></td>
<td>mi or as-is</td>
<td>support for MRU list</td>
</tr>
<tr>
<td><b>CFindFile</b></td>
<td>as-is</td>
<td>file search support</td>
</tr>
<tr>
<td><b>CRegProperty</b></td>
<td>as-is</td>
<td>registry properties support</td>
</tr>
<tr>
<td><b>CRegPropertyImpl</b></td>
<td>impl</td>
<td>registry properties via map</td>
</tr>
<tr>
<td colspan="3"><br>In-memory dialog</td>
</tr>
<tr>
<td><b>CDialogBaseUnits</b></td>
<td>helper</td>
<td>dialog units helper</td>
</tr>
<tr>
<td><b>CMemDlgTemplate</b></td>
<td>as-is</td>
<td>In-memory dialog template</td>
</tr>
<tr>
<td><b>CIndirectDialogImpl</b></td>
<td>impl</td>
<td>In-memory dialog class</td>
</tr>
<tr>
<td colspan="3"><br>Task dialog</td>
</tr>
<tr>
<td><b>CTaskDialogImpl</b></td>
<td>impl</td>
<td>Task Dialog in Vista</td>
</tr>
<tr>
<td><b>CTaskDialog</b></td>
<td>as-is</td>
<td> </td>
</tr>
<tr>
<td colspan="3"><br>DWM classes</td>
</tr>
<tr>
<td><b>CDwm</b></td>
<td>client</td>
<td>DWM handle warapper</td>
</tr>
<tr>
<td><b>CDwmImpl</b></td>
<td>impl base</td>
<td>DWM support</td>
</tr>
<tr>
<td><b>CDwmWindow</b></td>
<td>impl</td>
<td>DWM window support</td>
</tr>
<tr>
<td><b>CDwmThumbnail</b></td>
<td>client</td>
<td>DWM thumbnail wrapper</td>
</tr>
<tr>
<td><b>CAeroControlImpl</b></td>
<td>impl</td>
<td>support for Aero controls</td>
</tr>
<tr>
<td colspan="3"><br>Ribbon classes</td>
</tr>
<tr>
<td><b>CRibbonUpdateUI</b></td>
<td>mi base</td>
<td>automatic mapping of ribbon UI elements</td>
</tr>
<tr>
<td><b>RibbonUI::CtrlImpl</b></td>
<td>base impl</td>
<td>base class for all ribbon controls</td>
</tr>
<tr>
<td><b>RibbonUI::CommandCtrlImpl</b></td>
<td>base impl</td>
<td>base class for ribbon controls</td>
</tr>
<tr>
<td><b>RibbonUI::CollectionImplBase</b></td>
<td>base</td>
<td>base class for all RibbonUI collections</td>
</tr>
<tr>
<td><b>RibbonUI::CollectionImpl</b></td>
<td>impl</td>
<td>RibbonUI collections</td>
</tr>
<tr>
<td><b>RibbonUI::CollectionCtrlImpl</b></td>
<td>impl</td>
<td>for ribbon collection controls</td>
</tr>
<tr>
<td><b>RibbonUI::ToolbarGalleryCtrlImpl</b></td>
<td>base impl</td>
<td>for ribbon toolbar gallery controls</td>
</tr>
<tr>
<td><b>RibbonUI::CRibbonImpl</b></td>
<td>impl</td>
<td>Ribbon implementation class</td>
</tr>
<tr>
<td><b>CRibbonFrameWindowImplBase</b></td>
<td>base</td>
<td>base frame class for Ribbon</td>
</tr>
<tr>
<td><b>CRibbonFrameWindowImpl</b></td>
<td>impl</td>
<td>Ribbon frame window class</td>
</tr>
<tr>
<td><b>CRibbonMDIFrameWindowImpl</b></td>
<td>impl</td>
<td>Ribbon MDI frame window class</td>
</tr>
<tr>
<td><b>CRibbonPersist</b></td>
<td>as-is</td>
<td>Ribbon persistance support</td>
</tr>
</table>
<p style=margin:0px><br></p>
<p style=margin:0px><br></p>
<h3 style=margin:0px><a name="ATL/WTL AppWizard"></a>ATL/WTL AppWizard</h3>
<p>ATL/WTL AppWizard generates starting code for a WTL application. It has options to create code for different application types and features.</p>
<p style=margin:0px>You can choose the following options:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Application type (SDI, multi thread SDI, MDI, TabView, Explorer, dialog based)</li>
<li>Support for hosting ActiveX controls</li>
<li>COM server support</li>
<li>Class implementation in .CPP files</li>
<li>Common Control manifest</li>
<li>Unicode character set</li>
<li>Toolbar, rebar, command bar, status bar</li>
<li>View window, and it's type (generic, dialog form, or a list box, edit, list view, tree view, rich edit, HTML page, scroll window)</li>
<li>For dialog based apps or a form based view window - support for hosting ActiveX controls in the dialog</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>ATL/WTL AppWizard supports VC++ 2005, 2008, 2010, 2012, 2013, 2015, 2017, and 2019.</p>
<p style=margin:0px><br></p>
<p style=margin:0px><br></p>
<h3 style=margin:0px><a name="WTL in MFC"></a>How to use WTL in an MFC project</h3>
<p>If you want to use WTL in an MFC project, you need to put these 2 lines before including atlapp.h:</p>
<p class="code1">
namespace ATL { using ::CString; };<br>
#define _WTL_NO_AUTOMATIC_NAMESPACE
</p>
<p>The first line tells WTL to use CString from global namespace, because CString is defined that way in MFC.
The second line prevents name collisions between WTL and MFC. Use the WTL namespace prefix explicitly.</p>
<p style=margin:0px><br></p>
<p style=margin:0px><br></p>
<p><hr></p>
<h3 style=margin:0px><a name="WTL Releases"></a>WTL Releases</h3>
<p style=margin:0px><br></p>
<h4>History</h4>
<table class="table1" style=margin-left:4ch border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="50%">
<tr>
<td width="22%">WTL 10</td>
<td>2020</td>
</tr>
<tr>
<td>WTL 9.1</td>
<td>2015</td>
</tr>
<tr>
<td>WTL 9.0</td>
<td>2014</td>
</tr>
<tr>
<td>WTL 8.0</td>
<td>2007</td>
</tr>
<tr>
<td>WTL 7.5</td>
<td>2005</td>
</tr>
<tr>
<td>WTL 7.1</td>
<td>2003</td>
</tr>
<tr>
<td>WTL 7.0</td>
<td>2002</td>
</tr>
<tr>
<td>WTL 3.1</td>
<td>2000</td>
</tr>
<tr>
<td>WTL 3.0</td>
<td>1999</td>
</tr>
</table>
<p style=margin:0px><br></p>
<h4>Changes Between WTL 10 and 9.1</h4>
<p style=margin:0px>New and improved:</p>
<blockquote style='margin-top:0px;margin-bottom:0px'>
<p style=margin:0px>
Full compatibility with VS2017 and VS2019<br>
Full C++ Standards compliance and support for compiling with /permissive- flag<br>
Full support for strict const-qualification conformance (/Zc:strictStrings)<br>
New classes: CRegProperty and CRegPropertyImpl<> for properties stored in registry<br>
New class: CSimpleFileDialog - fixed common dialog that does not use OFN_ENABLEHOOK<br>
Added support for MFC Dynamic Dialog Layout resource format<br>
App Wizard:
</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Added support for VS2017 and VS2019</li>
<li>Removed options for manifest (always there) and Unicode (always on)</li>
<li>Added option for WinXP support</li>
<li>Added support for _NO_AUTOMATIC_NAMESPACE</li>
</ul>
</blockquote>
<p style=margin:0px><br></p>
<p style=margin:0px>Fixes and enhancements:</p>
<blockquote style='margin-top:0px;margin-bottom:0px'>
<p style=margin:0px>General:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Added AtlGetStringPtr() function - get a pointer to read-only resource string</li>
<li>Changed CMessageLoop::IsIdleMessage() to be virtual, so it can be overridden in a derived class</li>
<li>Added DECLARE_FRAME_WND_CLASS2(), DECLARE_FRAME_WND_CLASS_EX2(), and DECLARE_FRAME_WND_SUPERCLASS2() for templated classes, and used DECLARE_FRAME_WND_CLASS2() for CFrameWindowImplBase</li>
<li>CMemDlgTemplateT: Added new window traits for dialog controls to avoid painting problems with WS_CLIPCHILDREN and WS_CLIPSIBLINGS</li>
<li>CWindowEx: Added methods for Dialog-only messages</li>
<li>Fix for #315 WTL::RunTimeHelper::IsWin7 works incorrectly on Windows 10 if versionhelpers.h is not used</li>
<li>Fix for bug #300 Error in CZoomScrollWindowImpl with setting SetZoomMode(ZOOMMODE_IN)</li>
<li>Fix for bug #298 InitDialogBaseUnits takes LOGFONT by value</li>
<li>Fix for CResource::LoadEx() - wrong order for parameters to ::FindResourceEx()</li>
<li>Fix for warning C4555: expression has no effect when using BEGIN_MSG_MAP_EX and BEGIN_DDX_MAP</li>
<li>Fix for bug #266 Icon loading for hi-dpi environments</li>
<li>Fix for bug #319 atlprint.h: Incorrect offsets in DEVNAMES struct</li>
<li>Samples: Updated for WTL10, renamed project files to indicate VS version, code and file cleanup</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Controls:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Added CListViewCtrl::SelectAllItems()</li>
<li>Improved CListViewCtrl::SelectItem() to call SetSelectionMark() and remove selection</li>
<li>Added another variant of CListViewCtrl::Scroll()</li>
<li>Fix for bug #321 Missing HTREEITEM parameter to TreeView GetNextSelected() methods</li>
<li>Added CEdit methods for new Edit messages added in Windows 10.0.17763</li>
<li>CRichEditCtrl: Added GetTypographyOptions() and SetTypographyOptions() that were missing</li>
<li>Added CString variant of CMultiPaneStatusBarCtrlImpl::GetPaneText()</li>
<li>Fix for bug #268 CImageListManaged throws ATL assert when using attach or operator =</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Splitter:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>CSplitterImpl: Increased m_nPropMax to handle super-high resolutions</li>
<li>CSplitterWindowImpl: Added new 'flat' splitter bar drawing style</li>
<li>Used DECLARE_WND_CLASS_EX2() for CSplitterWindowT</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>TabView:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Added support for auto scroll when dragging tabs to reposition them</li>
<li>Extended drag area to the whole client area of CTabViewImpl</li>
<li>Added hover close buttons to tabs</li>
<li>SetActivePage() - set focus only if main window is active</li>
<li>OnTabContextMenu() to pass the correct tab item to OnContextMenu()</li>
<li>CTabViewImpl: Uses ShowWindow() with TRUE/FALSE instead of SW_SHOW/SW_HIDE</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Ribbon:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix for bug #317 SpinnerCtrlImpl - Failed to update string properties</li>
<li>Don't use function pointers to templated functions</li>
</ul>
<p style=margin:0px>Cracked Handlers:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Added MSG_WM_NCMOUSEHOVER() and MSG_WM_NCMOUSELEAVE()</li>
<li>Added MSG_WM_GESTURE, MSG_WM_GESTURENOTIFY, MSG_WM_DPICHANGED, MSG_WM_APPCOMMAND</li>
<li>Fix for bug #322 atlcrack.h: Incorrect signature in comment for MSG_WM_MDIACTIVATE</li>
<li>Fix for bug #302 MSG_WM_WTSSESSION_CHANGE should crack lParam as session Id</li>
<li>Fix for bug #284 MSG_WM_XBUTTONDOWN inconsistent with MSDN</li>
<li>Fix for bug #286 MSG_WM_KEYDOWN cracks wParam as TCHAR, should be a virtual key</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Clang specific fixes:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Use C++-style instead of C-style struct initialization</li>
<li>Remove superfluous semicolons</li>
<li>Add comment for implicit fallthrough in switch statements</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>AppWizard:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Removed project name from the view file and class name</li>
<li>Fixed warning for different types in x64 for modal dialog project</li>
<li>Improved Setup.js to handle multiple installations of VS2017 and VS2019</li>
<li>Setup.js - Fix for VS2019 Community setup which does not create vcprojects folder</li>
<li>Removed deprecated MinimalRebuild compiler option for VS2017 and higher</li>
</ul>
</blockquote>
<p style=margin:0px><br></p>
<p style=margin:0px>Removed legacy features:</p>
<blockquote style='margin-top:0px;margin-bottom:0px'>
<p style=margin:0px>
Removed support for older version of Visual Studio and old SDKs<br>
Removed support for WinCE (and AppWizardCE)<br>
Removed support for _ATL_MIN_CRT and use of MinCrtHelper<br>
Removed WTL implementation of CPoint/CSize/CRect/CString (use ATL)<br>
Removed use of _WTYPES_NS and _CSTRING_NS<br>
Define _WTL_NEW_PAGE_NOTIFY_HANDLERS always<br>
(added _WTL_FORCE_OLD_PAGE_NOTIFY_HANDLERS to turn it off)<br>
Removed use of _ATL_NO_OLD_NAMES, _ATL_USE_NEW_PRINTER_INFO, _ATL_NO_COM<br>
Removed _ATL_USE_CSTRING_FLOAT and _ATL_USE_DDX_FLOAT (use float always)<br>
Removed use of _ATL_NO_MSIMG<br>
Removed support for RichEdit 1.0<br>
atlfind.h: Removed shadow buffer and added a warning/assert instead<br>
Removed use of _TrackMouseEvent() and used TrackMouseEvent() directly<br>
Removed use of CRegKeyEx (not needed any more)<br>
Removed support for _SECURE_ATL and use of SecureHelper functions (now always secure)<br>
Always use themes - Moved uxtheme.h and uxtheme.lib to atlapp.h<br>
Removed AtlIsOldWindows() and its use in the code<br>
AppWizard:
</p>
<ul style='margin-top:0px;margin-bottom:0px'></li>
<li>Removed support for older versions of Visual Studio and VC++ Express</li>
<li>Removed support and comments for obsolete stuff</li>
<li>Renamed files to WTL10AppWiz.*</li>
</ul>
</blockquote>
<p style=margin:0px><br></p>
<h4>Changes Between WTL 9.1 and 9.0</h4>
<p style=margin:0px>New and improved:</p>
<blockquote style='margin-top:0px;margin-bottom:0px'>
<p style=margin:0px>
Full compatibility with VS2015<br>
NuGet support and package<br>
Microsoft Public License (MS-PL)<br>
New sample: MemDlg - demonstrates use of in-memory dialogs
</p>
</blockquote>
<p style=margin:0px><br></p>
<p style=margin:0px>Fixes and enhancements:</p>
<blockquote style='margin-top:0px;margin-bottom:0px'>
<p style=margin:0px>
Fixes for code analysis warnings<br>
Fixes for strict const-qualification conformance (/Zc:strictStrings)<br>
CEditFindReplaceImpl::UseShadowBuffer(): Use AtlGetCommCtrlVersion() instead of GetProcAddress()<br>
Misc improvements: missing initialization, undefined messages, better #ifdefs<br>
CFrameWndClassInfo: Use GetSystemMetrics() for icon sizes<br>
BEGIN_MSG_MAP_EX and BEGIN_DDX_MAP: Fix for C4555: expression has no effect<br>
CResource::LoadEx(): Fix for the wrong order for parameters to ::FindResourceEx()<br>
CPaneContainerImpl:
</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>New extended styles: PANECNT_DIVIDER and PANECNT_GRADIENT</li>
<li>Fixed background drawing for close button</li>
</ul>
<p style=margin:0px>
CImageListManaged: Fix for assert when using attach or operator =<br>
WTLExplorer sample cleanup<br>
GenericWndClass::Register(): Fix for Windows CE<br>
App Wizard: Improved code for generating project configurations<br>
CSplitterImpl::OnCaptureChanged(): Fixed so it moves splitter bar only if move was in progress<br>
CDynamicUpdateUI::UIRemoveUpdateElement() leaks memory if UPDUI_TEXT is set<br>
CToolInfo and CToolTipCtrl: nIDTool argument should be UINT_PTR instead of UINT<br>
CSplitterImpl: Added GetSplitterPosPct()<br>
CCommandBarCtrlImpl: Fixed incorrect use of m_wndParent when AttachToWindow() is used
</p>
</blockquote>
<p style=margin:0px><br></p>
<h4>Changes Between WTL 9.0 and 8.0</h4>
<p style=margin:0px>New and improved:</p>
<blockquote style='margin-top:0px;margin-bottom:0px'>
<p style=margin:0px>
Full compatibility with VS2008, VS2010, VS2012, and VS2013<br>
New CRegKeyEx class for uniform support for registry<br>
New MinCrtHelper functions for uniform support for _ATL_MIN_CRT<br>
New DWM classes in atldwm.h<br>
New Ribbon classes in atlribbon.h<br>
New CDialogBaseUnits class<br>
Extended DDX support to TabCtrl, ComboBox, ListBox and ListView selection index<br>
Improved font handling in CHyperLink, CPaneContainer, CTabView<br>
CHyperlink: Added options for auto-create link font and single-line mode<br>
CBitmapButtonImpl: Added checked state, GetCheck()/SetCheck(), and check mode extended styles<br>
UpdateUI: Added support for radio menu items for popup menus<br>
Added support for new VersionHelpers.h in WinSDK 8.1 - GetVersionEx() is now deprecated<br>
Improved global support for old SDK headers, and for original headers in VC6 and VC7.x<br>
Global support for builds with NOMINMAX defined<br>
Global support for builds with STRICT_TYPED_ITEMIDS defined<br>
Global support for builds with _ATL_ALL_USER_WARNINGS defined<br>
Splitter Window:
</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Added keyboard handling</li>
<li>Added default position for splitter bar</li>
<li>Changed orientation from template argument to data member to reduce memory use</li>
<li>Added SPLIT_GRADIENTBAR and SPLIT_FIXEDBARSIZE extended styles</li>
</ul>
<p style=margin:0px>
Added CImageListManaged to manage the lifetime of wrapped image list<br>
Added Vista standard menu bar look option for Command bar<br>
Added new Rich Edit wrappers for _RICHEDIT_VER >= 0x0800<br>
Added new Win8 methods to Theme classes<br>
Added override of SubclassWindow() to CSplitterWindowImpl, CPaneContainerImpl, CTabViewImpl,<br>
CScrollImpl, CMapScrollImpl, CZoomScrollImpl, and CScrollContainerImpl<br>
CZoomScrollImpl:
</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Added zoom child windows option</li>
<li>Added zoom scale max limit</li>
</ul>
<p style=margin:0px>
AppWizard:
</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Support for VS2008, VS2010, VS2012, and VS2013</li>
<li>New universal setup for all versions of Visual Studio</li>
<li>Support for ribbon control</li>
</ul>
<p style=margin:0px>
Updated samples and added VS2005 project files<br>
New sample: MTPad7 - demonstrates Ribbon UI
</p>
</blockquote>
<p style=margin:0px><br></p>
<p style=margin:0px>Fixes and enhancements:</p>
<blockquote style='margin-top:0px;margin-bottom:0px'>
<p style=margin:0px>General:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fixed security warning for _vstprintf in atlapp.h</li>
<li>Added RunTimeHelper::IsThemeAvailable that detects if themes can be used in the app</li>
<li>VS2012: DLL version functions are defined as they are removed from ATL11</li>
<li>Added CWndProcThunk initialization for _ATL_VER >= 0x0800</li>
<li>Added RunTimeHelper::SizeOf_TOOLINFO() for different Windows versions at runtime</li>
<li>Added AtlCreateControlFont()</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Controls:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Extended CListViewCtrl::SelectItem() to multi-selection list view controls</li>
<li>Added another variant of CListViewCtrl::FindItem for strings</li>
<li>Added new CToolBarCtrl methods - InsertSeparator() and AddSeparator()</li>
<li>Added CToolBarCtrl::GetItemDropDownRect()</li>
<li>Added another variant of CToolTipCtrl::TrackActivate()</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Cracked Handlers:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fixed handlers with menu arguments</li>
<li>Fixed MSG_WM_SYSCOMMAND handler</li>
<li>Added MSG_WM_MOUSEHWHEEL handler</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>App Wizard:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix for TabView project code generation</li>
<li>Improved generated code for VC++ Express to support various versions of ATL</li>
<li>Fix for missing UIUpdateChildWindows() in dialog projects</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>App Wizard CE / App Wizard Mobile:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Updated AppWizCE for VS2008 - used different CLSID for Platforms object</li>
<li>Fix: VS2008 uses _SECURE_ATL code only</li>
<li>Fix for resource creation failure</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Misc:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix: CLogFont uses ::GetDeviceCaps with wrong default hDC = NULL</li>
<li>Fixed CPen::GetExtLogPen</li>
<li>Fixed CFrameWindowImpl::OnToolTipText*() handlers not to reset text buffer</li>
<li>Added support for chevron menus for multi-line toolbars</li>
<li>Fix: CFileDialog(false) fails on Windows Mobile 5 or 6</li>
<li>Fix: CFolderDialog::SetOKText should use lParam for string</li>
<li>Added CFolderDialog::SetPidlRoot()</li>
<li>Fixed CMemDlgTemplate::AddControl</li>
<li>Added option to disable item dragging in CTabViewImpl</li>
<li>Fixed CTabView::ShowTabControl(false) and UpdateLayout() to hide empty space</li>
<li>CTabView: Fixed value of the active page when inserting pages before it</li>
<li>PaneContainer: Added support for vertical title bar text</li>
<li>atlsplit.h: Added missing support for WM_PRINTCLIENT</li>
<li>Fix: CScrollImpl should not scroll horizontally if not needed</li>
<li>Fixed CScrollImpl<T>::ScrollToView() to use offset correctly</li>
<li>Fixed CPrintDialogExImpl::GetDefaults()</li>
<li>atltheme.h: Added CBufferedAnimation::StopAllAnimations()</li>
<li>Added support for I64 format to CString::Format()</li>
<li>Fix: CStdIndirectDialogImpl - DLGTEMPLATEEX not supported on Mobile devices</li>
<li>Fix: Missing CRichInkCtrlT::SetSel(), added CRichInkCtrlT::Undo()</li>
</ul>
</blockquote>
<p style=margin:0px><br></p>
<h4>Changes Between WTL 8.0 and 7.5</h4>
<p style=margin:0px>New and improved:</p>
<blockquote style='margin-top:0px;margin-bottom:0px'>
<p style=margin:0px>RunTimeHelper functions for
correct struct sizes on different versions of Windows<br>ModuleHelper functions for uniform support of ATL3 and ATL7 module classes<br>SecureHelper functions for support of secure and non-secure run-time
functions<br>Support for new Vista features:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Support for new messages for common controls, dialogs, etc.</li>
<li>Support for TaskDialog</li>
<li>New Shell file dialogs (IFileOpenDialog and IFileSaveDialog)</li>
<li>New Aero Wizard support classes</li>
<li>New classes for Buffered Paint and Buffered Animation</li>
</ul>
<p style=margin:0px>
New TabView classes<br>New dialog class that uses in-memory dialog templates<br>New CMultiFileDialogImpl and CMultiFileDialog classes that support
multi-select file dialogs<br>Added message cracker handler prototypes for all handlers<br>Replaced use of _alloca with CTempBuffer everywhere (and added CTempBuffer
version for ATL3)<br>New classes for find/replace support for Edit or RichEdit<br>New class CFileDialogEx that supports GetOpenFileNameEx for Windows Mobile 5<br>
New features for the App Wizard:
</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>New default version values</li>
<li>Unicode build option</li>
<li>Support for TabView applications</li>
<li>Support for Explorer applications</li>
</ul>
<p style=margin:0px>Updates for the desktop App Wizard:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Added calls to set font for views based on controls that use font</li>
<li>Added scroll window as another view type</li>
</ul>
<p style=margin:0px>Support for VC2005 Express:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Setup for VS2005x</li>
<li>Changes in default.js to take into account that VC2005x does not have a resource editor</li>
<li>Generated code allows use of ATL3 from the Platform SDK</li>
</ul>
<p style=margin:0px>New AppWizard for Mobile 2003 and 2005 platforms<br>
New samples:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Aero - demonstrates the Vista Glass UI</li>
<li>MiniPie - Windows Mobile 2005 PPC and Smartphone sample</li>
<li>TabBrowser - a web browser using TabView class</li>
</ul>
<p style=margin:0px>MTPad sample updated to show usage of CRichEditFindReplaceImpl and CEditCommands/CRichEditCommands</p>
</blockquote>
<p style=margin:0px><br></p>
<p style=margin:0px>Fixes and enhancements:</p>
<blockquote style='margin-top:0px;margin-bottom:0px'>
<p style=margin:0px>Command Bar:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Added support for menu items with bitmaps on Vista</li>
<li>Fix: Keyboard cues shown even if the window is disabled</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CFolderDialog:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Added support for PIDLs in addition to the file path</li>
<li>Replaced use of SHGetMalloc with CoTaskMemFree</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Scroll Windows:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix: CZoomScrollImpl - some methods should be overridable</li>
<li>Added support for WM_MOUSEHWHEEL in CScrollImpl</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>App Wizard:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix: AppWizard fails to add files if C:\Temp does not exist</li>
<li>Fix: App Wizard generates security warning when loaded</li>
<li>Fix: App Wizard generates level 4 warning for modal dlg project</li>
<li>Fix: App Wizard setupXX.js scripts silently fail on Vista</li>
<li>Fix: Added code to unregister message filer and idle processing</li>
<li>Fix: Added WS_CLIPSIBLINGS to dialog forms to avoid rebar drawing problems</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>App Wizard CE:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix: App Wizard CE should not have rich edit as a view option</li>
<li>Fix: App Wizard CE generates level 4 warnings for single instance apps</li>
<li>Added support for Windows Mobile 6 SDKs</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Cracked Handlers:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix: Corrected MSG_WM_TIMER and handler prototype, removed unused argument (breaking change)</li>
<li>Fix: atlcrack.h does not support WTL namespace</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CDialogResize:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Added SetIcon(NULL, FALSE) for CDialogResize to remove the generic icon for resizable dialogs</li>
<li>Fix: Enabled size/move for both X and Y</li>
<li>Added center flags for controls</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CFrameWindowImpl:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix: Const issue with title argument of AddSimpleReBarBand</li>
<li>Fix: DECLARE_FRAME_WND_CLASS definition missing WTL namespace</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Windows CE:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix: Some symbols not defined for CE 4.0</li>
<li>Fix: Incorrect WinCE exclusions</li>
<li>Fix: Pocket PC - assert after navigating a CHyperLink</li>
<li>Fix: Property sheet with listview on WM5.0 causes stack overflow</li>
<li>Fix: CFindFile::GetFilePath() fails on diskless root requests</li>
<li>Fix: VS 2005 dialog editor bug - DS_FIXEDSYS used but not defined</li>
<li>Fix: Windows Mobile 2005 compatibility issues</li>
<li>Fix: CFullScreenFrame on Smartphone 20003</li>
<li>Fix: SmartPhone back key handling in CAppWindow</li>
<li>Added orientation aware support to CAppStdDialogImpl</li>
<li>Added CAxDialogImpl base for CStdDialogImpl, CStdDialogResizeImpl and CStdOrientedDialogImpl</li>
<li>Added various CStdDialogxxx enhancements</li>
<li>Fix: CStdDialogBase does not scale dialog title on VGA</li>
<li>Fix: DIBINFO16 triggers code analysis warning</li>
<li>Added LPCTSTR AtlLoadString(UINT uID) - CE only overload</li>
<li>Added imaging draw support to CZoomScrollImpl</li>
<li>Added CBottomTabViewImpl and CBottomTabView classes for PPC</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CFindFile:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix: CFindFile class uses CRT functions</li>
<li>Fix: FindFile() uses lstrcpy without checking length</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>General:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix: Adding ReBar bands fails with new Windows SDK</li>
<li>Added support for relative include paths</li>
<li>Fix: Using std::min and std::max</li>
<li>Fix: Problems using WTL with MFC</li>
<li>Improved support for Secure CRT</li>
<li>Changed implementation of CSize, CPoint, CRect, and CString to be inside class definitions</li>
<li>atltheme.h: Corrected method signatures for differences in uxtheme.h versions</li>
<li>Replaced malloc/free with new/delete where appropriate</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Misc:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix: CString::FormatV can cause GPF with Unicode strings</li>
<li>CHyperLink: Added handler for WM_SIZE</li>
<li>Fix: CTheme needs constructor from HTHEME handle</li>
<li>Added Add* methods to several control classes in atlctrls.h to augment Insert* methods</li>
<li>Fix: Incorrect casting in CRichEditCtrl::GetLine()</li>
<li>Fix: CTreeViewCtrl::GetItemState changed to return only state-bits as specified by mask</li>
<li>Fix: CBitmapButton::DoPaint - wrong button image</li>
<li>Added another variant of CDCT::Drawtext with LPTSTR argument that allows text change</li>
<li>Fix: CRecentDocumentListBase::AddToList() uses lstrcpy</li>
<li>Fix: AtlLoadString(uID, lpBuffer, nBufferMax) has unnecessary code</li>
<li>Fix: CCursor::LoadOEMCursor asserts on IDC_HAND</li>
<li>Fix: Memory leak when using CRT functions while printing</li>
<li>Fix: Undefined CString namespace</li>
<li>CPaneContainer: Added border styles</li>
<li>CSplitterImpl: Added SetSplitterPosPct, and changed App Wizard code to use it</li>
</ul>
</blockquote>
<p style=margin:0px><br></p>
<p style=margin:0px><br></p>
<p style=margin:0px><b>Changes Between WTL 7.5 and 7.1</b></p>
<p style=margin:0px><br></p>
<p style=margin:0px>New and improved:</p>
<blockquote style='margin-top:0px;margin-bottom:0px'>
<p style=margin:0px>
VS2005 Compatibility:
Added support for Visual Studio 2005 - both desktop and Windows CE<br>
Classes for icons, cursors, accelerator tables<br>
CSortListViewImpl, CSortListViewCtrlImpl, and CSortListViewCtrl classes<br>
Impl classes for Wizard 97 style wizards: CWizard97Sheet,
CWizard97Page, CWizard97ExteriorPage, CWizard97InteriorPage<br>
CMemoryDC and CDoubleBufferWindowImpl classes<br>
Windows CE specific classes in new header, atlwince.h<br>
CScrollContainer class<br>
CZoomScrollImpl and CZoomScrollWindowImpl classes<br>
CZoomPrintPreviewWindowImpl and CZoomPrintPreviewWindow classes<br>
Global functions: AtlGetBitmapResourceInfo,
AtlGetBitmapResourceBitsPerPixel<br>
New REFLECT_* macros to enable selective reflection of messages<br>
App Wizard: Added App Wizard for VS2005<br>
App Wizard: Added App Wizard for Windows CE for VS2005<br>
New samples: WTLExplorer, ImageView, SPControls<br>
</p>
</blockquote>
<p style=margin:0px><br></p>
<p style=margin:0px>Fixes and enhancements:</p>
<blockquote style='margin-top:0px;margin-bottom:0px'>
<p style=margin:0px>Command Bar:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>DrawBitmapDisabled() doesn't work correctly on Longhorn</li>
<li>Submenu size not correct if command bar is off-screen</li>
<li>Added handler for WM_SETTINGCHANGE to improve theme color changes</li>
<li>Better support for 8/16/24-bit images</li>
<li>Command Bar with 2 Levels of submenus remains active</li>
<li>Hook procedure fails to call next hook</li>
<li>OnDestroy() should not decrement hook use if AttachToWindow() is used</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>MDI Command Bar:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Grows bigger if you switch between two maximized MDI child window types</li>
<li>Move all hook messages processing to a separate function and use pT</li>
<li>MDI icon & buttons should have themed background</li>
<li>Should make MDI buttons gray when inactive<br> </li>
</ul>
<p style=margin:0px>CString:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Helper functions not overloaded properly</li>
<li>Some return types are 'const CString&' and could be just 'CString&'</li>
<li>FormatV() passes size in characters to _alloca, should be in bytes</li>
<li>Fixed stack corruption in FormatV()</li>
<li>Improved boundaries checking for integer overflows/underflows<br> </li>
</ul>
<p style=margin:0px>CScrollImpl:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Scroll bars problem when changing range</li>
<li>SetScrollOffset() doesn't move child windows</li>
<li>Range and thumb drawing problems</li>
<li>Possible overflow in OnMouseWheel()</li>
<li>Support for SIF_DISABLENOSCROLL</li>
<li>Added ScrollToView methods</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CMapScrollImpl:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>SetScrollSize() incorrectly inverts xMin and xMax</li>
<li>SetScrollSize() uses bRedraw = NULL</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CTheme:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>GetThemeFont() bad parameter ordering</li>
<li>Uses LOGFONT and TEXTMETRIC incorrectly (SDK header problem)</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CFrameWindowImpl:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Improved sizing for Windows CE</li>
<li>CreateSimpleToolBarCtrl() should handle 24-bit bitmaps</li>
<li>Changed WinCE CCECommandBarCtrl typedef and added a PPC CMenuBarCtrl</li>
<li>UpdatesBarPosition() doesn't take Windows CE command bar into account</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CDialogResize:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Enabled use for Windows CE</li>
<li>Add WS_EX_DLGMODALFRAME to prevent empty icon</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CReBarCtrl:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Background not painted when resized</li>
<li>Fixed typo in LockBands()</li>
<li>MaximizeBand needs BOOL fIdeal argument</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CRichEdit:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>GetSelText() should support UNICODE strings</li>
<li>GetSelText() uses lpstr instead of lpstrText</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CHyperLink:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Added _xttoi() helper to avoid CRT in _ATL_MIN_CRT</li>
<li>Fixed resource leak by destroying tooltip window<br> </li>
</ul>
<p style=margin:0px>CPropertySheetImpl:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Improved support for Windows CE</li>
<li>Sheet without title generates a memory fault on Windows CE</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CFolderDialog:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Add a way to set an initial folder</li>
<li>Uses BFFM_IUNKNOWN which is not always defined</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Update UI:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Add support to dynamically add UpdateUI elements</li>
<li>UIUpdateMenuBarElement() should use EnableMenu() instead of SetMenuItemInfo() for Windows CE</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CDC:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>FillSolidRect() should restore background color</li>
<li>GetClipRgn() method missing</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Printing:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>CPrinter::CreatePrinterDC() and CreatePrinterIC() members should be const</li>
<li>CDevMode::CopyToHDEVMODE() is missing a call to GlobalUnlock()</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>AppWizard:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Use WTL subfolder to create WTL category for VC7.x and VC8</li>
<li>Rename files from WTLApp7x to WTLAppWiz, and add VS2005 setup file</li>
<li>Fixed setup for x64</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>General:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Redefinition of _MAX_FNAME with Dinkumware Standard C++ Library on Windows CE</li>
<li>Added ATLVERIFY macro for ATL3</li>
<li>Support warning level 4</li>
<li>Missing methods CToolBarCtrl::SetButtonInfo, InsertButton, CTabCtrl::SetItem, CComboBoxEx::InsertItem, SetItem</li>
<li>Missing support for WM_PRINTCLIENT</li>
<li>Removed usage of IsBad* functions</li>
<li>Fixed various compiler warnings</li>
<li>TCHAR bugs in various files</li>
<li>Improved Windows CE support and changes for Visual Studio 2005</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Misc:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>CMDIChildWindowImpl: HMENU should be destroyed in OnDestroy()</li>
<li>CStatic: Should use STM_SETIMAGE instead of STM_SETICON for SetIcon() on Windows CE</li>
<li>CButton: GetButtonStyle() uses wrong mask</li>
<li>CImageList: Made Duplicate() method const</li>
<li>CListViewCtrl: Made SubItemHitTest() method const</li>
<li>CTreeViewCtrl: GetItem() and SetItem() incorrectly restricted to _WIN32_IE >= 0x0500</li>
<li>CMonthCalendarCtrl: GetMonthRange() should be GetMaxTodayWidth()</li>
<li>CDateTimePickerCtrl: SetFormat() should have const argument</li>
<li>CBitmapButtonImpl: Fixed resource leak by destroying tooltip window</li>
<li>CMultiPaneStatusBarCtrlImpl: Cannot handle wide panes without resource strings</li>
<li>CCheckListViewCtrlImpl: Call CheckSelectedItems() through pT</li>
<li>CPaneContainerImpl: SetPaneContainerExtendedStyle() should use pT to call CalcSize()</li>
<li>CFindFile: Enabled for Windows CE</li>
<li>CPropertyPageImpl: Added handlers for callback messages</li>
<li>atlcrack.h: Added return value for MSG_WM_APPCOMMAND</li>
<li>CMenu: New method variants: AppendMenu, InsterMenu, ModifyMenu</li>
<li>CFont: Added arguments for bold and italic to CreatePointFont()</li>
<li>CSize: Added scalar operators for WTL::CSize and ATL::CSize</li>
<li>CRecentDocumentList: Allow changing the "DocumentCount" and "Document%i" registry values strings</li>
<li>CSplitterWindowImpl: Enabled use for Windows CE</li>
</ul>
</blockquote>
<p style=margin:0px><br></p>
<h4>Changes Between WTL 7.1 and 7.0</h4>
<p style=margin:0px>New and improved:</p>
<blockquote style='margin-top:0px;margin-bottom:0px'>
<p style=margin:0px>VC7 Compatibility: Support for ATL7 Module classes and critical sections and AppWizard setup for VC++ 7.1</p>
<p style=margin:0px>Windows CE Support: Full compatibility with Windows CE platforms and AppWizard for eMbedded Visual C++</p>
<p style=margin:0px>Namespace Support: Automatic "using ATL" (ATL7 only) or "using WTL" can now be turned off</p>
<p style=margin:0px>CHyperLink New Features: not underlined, underlined when hover, command button, link tags</p>
<p style=margin:0px>CCustomWaitCursor class supports custom and animated wait cursors</p>
<p style=margin:0px>AtlCreateBoldFont() for creating bold version of an existing font</p>
</blockquote>
<p style=margin:0px><br></p>
<p style=margin:0px>Fixes and enhancements:</p>
<blockquote style='margin-top:0px;margin-bottom:0px'>
<p style=margin:0px>CFrameWindowImpl:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>CreateSimpleToolBarCtrl() - remove dead code, improve error checking, add a global function that uses it</li>
<li>Fix - PrepareChevronMenu() fails to get toolbar strings for Unicode</li>
<li>CFrameWindowImplBase::Create() - improve ASSERT not to use m_hWnd if creation fails</li>
<li>Fix - CFrameWndClassInfo::Register - should use %p formatting only for _WIN32_WINNT >= 0x0500 or for _WIN64</li>
<li>Fix - Chevron menus not positioned correctly with RTL</li>
<li>Fix - CMDIChildWindowImpl: Problems creating maximized child windows and handling focus</li>
<li>Fix - CMDIChildWindowImpl: Should activate on WM_MOUSEACTIVATE</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>UpdateUI:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix - Incorrectly clears default item from the system menu in MDI apps</li>
<li>Added UISetCheck with bool instead of int for the check state</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>DDX:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix - Doesn't provide a way to change floating point precision</li>
<li>Added DDX_CONTROL_HANDLE for non-CWindowImpl objects</li>
<li>Added DDX_Check variant with bool instead of int for the check state</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Command Bar:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix - OnDrawItem() and OnMeasureItem() don't do a good check for owner-draw menu items</li>
<li>Fix - Disabled 32-bit images not painted correctly in 3D menu mode</li>
<li>Fix - Popup menus not positioned correctly with RTL</li>
<li>Fix - Uses GCL_HICONSM instead of GCLP_HICONSM with GetClassLongPtr()</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>MDI Command Bar:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix - Doesn't refresh icon if MDI children are different</li>
<li>OnAllHookMessages() - improve code to handle MDI child window class icon</li>
<li>Fix - OnNcLButtonDown() uses TPM_VERPOSANIMATION without checking Windows version</li>
<li>Fix - Maximized MDI buttons in wrong place for RTL</li>
<li>Should adjust cxIdeal for rebar bands for IE4</li>
<li>Add support for different top-level menu widths by handling ideal size for rebar bands</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>AppWizard:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix - Doesn't support MSDI application as a COM Server</li>
<li>Fix - MDI with Form View - stack overflow closing maximized MDI child windows</li>
<li>Fix - Generates VERSION resource name 'test1' regardless of the project name</li>
<li>Fix - Dialog project with control hosting doesn't derive a dialog from CAxDialogImpl</li>
<li>Fix - COM Server doesn't register type library</li>
<li>Fix - COM Server doesn't register AppID properly</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CTreeViewCtrl:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix - GetItemData() needs better return value</li>
<li>Fix - GetItemState() should use TVM_GETITEMSTATE instead of TVM_GETITEM for IE5</li>
<li>GetItem() and SetItem() - added new variants that use TVITEMEX</li>
<li>Fix - SortChildren() should add recurse flag argument</li>
<li>Fix - CTreeItem doesn't support CTreeViewCtrlExT that has different TBase than CWindow</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CThemeImpl:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix - Uses scalar delete instead of the vector one</li>
<li>Fix - EnableThemeDialogTexture() argument is BOOL instead of DWORD</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CFolderDialog:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix - EnableOK() passes wrong arguments to BFFM_ENABLEOK</li>
<li>Fix - Always clears m_hWnd, which causes problem for nested messages</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CDialogResize:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix - DlgResize_Init() forces dialog to be visible by using SetRedraw()</li>
<li>Forcing WS_THICKFRAME is not enough to make dialog resizable</li>
<li>Min track size should be used for child dialogs as well</li>
<li>Fix - DlgResize_PositionControl() incorrectly checks return value from MapWindowPoints()</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CAppModule:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix - CAppModule methods not thread-safe</li>
<li>Fix - AddSettingChangeNotify() unusable in multithreaded apps because of delayed initialization</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CString:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix - Delete() doesn't allow deleting more than the length of the string</li>
<li>Fix - Append() can cause buffer overrun</li>
<li>Fix - MakeReverse() can cause an infinite loop</li>
<li>Fix - _cstrstr() unnecessarily inefficient</li>
<li>Fix - FindOneOf() is not DBCS-aware</li>
<li>Fix - Format() does not recognize %E</li>
<li>Fix - TrimLeft() and TrimRight() are only half-way DBCS-aware</li>
<li>Fix - May cause assertions or undefined behavior with SBCS</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CRecentDocumentList:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix - SetMaxEntries() has an incorrect ASSERT</li>
<li>Add CString variant of the GetFromList() method</li>
<li>Add a way to replace command IDs used for the MRU list</li>
<li>Add a way to replace registry key name</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Misc:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>CMessageLoop::Run() - improve the loop by checking bDoIdle before calling PeekMessage()</li>
<li>CServerAppModule: Clean-up unused code</li>
<li>Fix - CServerAppModule::MonitorProc() - no need to call _endthreadex()</li>
<li>Fix - CListBox::GetText() and CComboBox::GetLBText() (CString variants) don't check for LBERR/CB_ERR</li>
<li>Fix - CAxPropertyPageImpl doesn't create ActiveX controls with ATL7</li>
<li>Fix - CDC::GetTextExtentExPoint() missing</li>
<li>CDC::SetWindowExt() should have default value NULL for the lpSizeRet argument</li>
<li>Fix - CPropertySheetWindow missing methods for PSM_INSERTPAGE, PSM_SETHEADERTITLE, and PSM_SETHEADERSUBTITLE;
AddPage should return BOOL</li>
<li>Fix - CMapScrollImpl::SetScrollSize() uses wrong variable</li>
<li>Fix - CHyperLink: WM_UPDATEUISTATE causes repaint without WM_PAINT</li>
<li>Fix - CUpDownCtrl::GetPos() returns incorrect value</li>
<li>Fix - CUpDownCtrl::GetPos32() doesn't have default arg value</li>
<li>Fix - CMultiPaneStatusBarCtrl: Always uses size grip for positioning panes</li>
<li>Fix - CTabCtrl::InsertItem() should return int, not BOOL</li>
<li>CReBarCtrl: Added LockBands() method</li>
<li>Fix - CFont: uninitialized variable passed to DPtoLP</li>
<li>Fix - CPrintDialogImpl: Crash when displaying Print Setup dialog</li>
<li>Fix - CPageSetupDialogImpl::PaintHookProc() - should use T* and return UINT_PTR instead of UINT</li>
<li>Fix - CPrintJob doesn't support printing to a file</li>
<li>Fix - CSplitterImpl: Doesn't handle WM_CAPTURECHANGED - can get in an invalid state</li>
<li>CRichEditCtrl: Add method for EM_SETTABSTOPS</li>
<li>Fix - CFindFile::GetFilePath() checks for a trailing slash, but doesn't use that info</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>General:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix - Problems compiling with /Zc:forScope ('for' loop scope conformance)</li>
<li>Use named constants instead of values for pixel sizes, buffer lengths, etc.</li>
<li>Support building with Managed C++ (/CLR)</li>
<li>CMenuItemInfo - add run-time support for different versions of Windows</li>
<li>CommCtrl.h change - additional fields in IMAGELISTDRAWPARAMS now depend on _WIN32_IE instead of _WIN32_WINNT</li>
<li>Fix - Incorrect usage of CRegKey::QueryStringValue()</li>
<li>Fix - Operator = for GDI and USER wrappers leaks handle if it's managed variant</li>
<li>Fix - GDI and USER wrappers break under self-assignments</li>
<li>Fix - Chaining messages with cracked handlers broken with ATL7</li>
<li>Initialize all variables and structures prior to use</li>
<li>Use new common control struct names</li>
</ul>
</blockquote>
<p style=margin:0px><br></p>
<h4>Changes Between WTL 7.0 and 3.1</h4>
<p style=margin:0px>New classes and features:</p>
<blockquote style='margin-top:0px;margin-bottom:0px'>
<p style=margin:0px>Support for new Common Controls v6 messages</p>
<p style=margin:0px>Support for Visual Studio .NET and ATL 7.0</p>
<p style=margin:0px>WTLApp70 - new AppWizard for Visual Studio .NET</p>
<p style=margin:0px>CThemeImpl - implements support for Windows XP themes</p>
<p style=margin:0px>CMDICommandBarCtrl - implements Command Bar for MDI applications</p>
</blockquote>
<p style=margin:0px><br></p>
<p style=margin:0px>Fixes and enhancements:</p>
<blockquote style='margin-top:0px;margin-bottom:0px'>
<p style=margin:0px>Command Bar:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Bogus assert in OnDestroy</li>
<li>Check marks can be truncated in large font settings</li>
<li>Use pT to access GetSystemSettings, DrawMenuText, DrawBitmapDisabled, Draw3DCheckmark, DoPopupMenu,
DoTrackPopupMenu, TakeFocus, GiveFocusBack, so they can be overridden</li>
<li>No hot-tracking if main window is not active</li>
<li>Top level items not painted inactive if app looses activation while drop down menu is displayed</li>
<li>Added Windows XP flat menus support</li>
<li>Drop-down menu doesn't close if clicked again (Windows XP only)</li>
<li>Menu item text and accelerator text too close with some settings</li>
<li>Keyboard can still access clipped menu items</li>
<li>Added support for hiding keyboard navigation indicators until Alt key is pressed (system setting)</li>
<li>Added AddIcon and ReplaceIcon variants for icon resources</li>
<li>Image size calculated differently in different places</li>
<li>Add support for 32-bit (alpha channel) bitmaps for Windows XP</li>
<li>Fixed width calculation for default menu items</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CFrameWindowImpl:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>AddSimpleReBarBandCtrl sets toolbar extended styles without preserving old ones</li>
<li>PrepareChevronMenu should not create menu items for buttons with TBSTATE_HIDDEN</li>
<li>TPM_VERPOSANIMATION will not be defined in atlframe.h if atlctrlw.h is included first</li>
<li>CreateSimpleToolBarCtrl - height might be too small if large font is used</li>
<li>PrepareChevronMenu uses TB_GETBUTTONTEXT, better use TB_GETBUTTONINFO</li>
<li>Chevron menu doesn't close if clicked again (Windows XP only)</li>
<li>Should check local classes for superclassing</li>
<li>Add support for 32-bit (alpha channel) bitmaps for Windows XP</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Update UI:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>UISetText can clear other menu item flags</li>
<li>CUpdateUI::UIUpdateState assigns value with |= instead of =</li>
<li>Added UISetDefault() and fix default state to work with menus</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CString:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>GetBuffer() and GetBufferSetLength() should return NULL in out-of-memory condition</li>
<li>Added missing methods: separate c-tors for LPCSTR and LPCWSTR, CollateNoCase, TrimRight and TrimLeft variants, Find
variants, moved FormatV to public</li>
<li>Fix _IsValidString usage</li>
<li>FormatV incorrectly calculates buffer size (too big)</li>
<li>Usage of _ttoi causes problems with _ATL_MIN_CRT in VC7</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CDC:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>GetTabbedTextExtent() should return DWORD instead of BOOL</li>
<li>Add FillRect() that accept color index instead of a brush handle</li>
<li>DrawDragRect() leaks regions and a brush</li>
<li>Improved DitherBlt() - added brushes as arguments for used colors</li>
<li>Added DrawShadowText() (uses LoadLibrary/GetProcAddress to run on older Windows)</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CListViewCtrl:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>SetItemState should use LVM_SETITEMSTATE</li>
<li>SetItemCount should return a BOOL</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CRichEditCtrl:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Added SetCharFormat() variant that accepts flags (for SCF_ALL)</li>
<li>CharFromPos() should pass a pointer to POINTL in lParam</li>
<li>GetTextRange() - should add Unicode variant for rich edit version >= 2</li>
<li>Added another FormatRange() that can accept a pointer to FORMATRANGE (needed for passing NULL to clear cache)</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CHyperLink:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Allow overriding of Navigate and CalcLabelRect</li>
<li>Doesn't handle right or center alignment</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CColorDialog:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Has static variables that were not initialized with _ATL_MIN_CRT</li>
<li>Fixed HookProc for ColorOK message - the message is not sent, but the hook proc is called directly</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>atlcrack.h:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>MSG_WM_TIMER crack macro should cast to TIMERPROC instead of TIMERPROC*</li>
<li>Add cracked handlers for all new messages in Common Controls 6</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>atlapp.h:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fixed problems with atlTraceUI with ATL7</li>
<li>#ifdefs for ATL7 were in the wrong place</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>atlctrls.h:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Add support in control classes for all new messages in Common Controls 6</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CRecentDocumentList:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>AtlCompactPath corrupts memory if filename is longer than requested compact size</li>
<li>ReadFromRegistry incorrectly checks for error when reading from registry</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CSplitterWindow:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Incorrect calculation of middle position</li>
<li>3D border now drawn only if WS_EX_CLIENTEDGE is set</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Printing:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Uses DWORD instead of an int for a job ID</li>
<li>CPrintJob::CancelPrintJob shouldn't have a return value</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Misc:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>CRegKey::QueryValue and SetValue are deprecated in ATL7</li>
<li>Added direct support for ATL7</li>
<li>Replace ScreenToClient and ClientToScreen with MapWindowPoints to support RTL layout</li>
<li>CFindFile::GetFilePath(LPTSTR...) returns path without the file name</li>
<li>MDI: Updating client edge in WM_WINDOWPOSCHANGING causes minimize/maximize/restore animation problems,
use WM_WINDOWPOSCHANGED</li>
<li>Custom Draw: Added CCustomDraw::OnSubItemPrePaint() overrideable method</li>
<li>CFolderDialogImpl uses 'this' for BROWSEINFO.lParam instead of T*</li>
<li>CImageList::Destroy shouldn't use Detach()</li>
<li>ATL7 has its own AtlLoadString</li>
<li>CPropertySheet doesn't close when you press X button</li>
<li>Fixed problems for _U_STRINGorID and others that moved from atlbase.h to atlwin.h in ATL7</li>
<li>Add AtlMessageBox() that accepts either in-memory or resource strings</li>
<li>CScrollImpl: fixed bug with scrolling child windows</li>
<li>CPropertyPageImpl: Add new notification handlers to enable direct return values
(use #ifdef _WTL_NEW_PAGE_NOTIFY_HANDLERS to use them)</li>
<li>Add AtlInitCommonControls() to simplify use</li>
<li>DDX: Fixed usage of the size of char arrays for DDX</li>
<li>CPageSetupDialog: changed usage of CWndProcThunk because of changes in ATL7</li>
<li>Fix confusing precedence in expressions</li>
<li>Removed forward declarations because default values for template arguments
shouldn't be specified in two places (we don't need them anyway)</li>
<li>Win64: Fix /Wp64 warnings from 32-bit VC7 compiler caused by SDK headers</li>
<li>Fix direct usage of English strings (they can be #defined to something else now)</li>
<li>AtlGetCommCtrlVersion not defined if _ATL_DLL is in ATL 3.0 (and CmdBar is using it)</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>AppWizard:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Added manifest for Common Controls 6</li>
<li>Loading Rich Edit DLL should use HMODULE</li>
<li>Should not use atlimpl.cpp for ATL7</li>
<li>Added message handler prototypes to generated files</li>
<li>VERSION resource always has VALUE "OLESelfRegister" (now only for COM servers)</li>
<li>Added option for putting implementation in CPP files</li>
<li>d-tor for the thread manager class in MSDI project executed after the heap is destroyed</li>
<li>Wrong settings when changing to a dialog project and back (AppWizard 6.0 only)</li>
<li>Remove cut/copy/paste accelerators for form view and dialogs projects</li>
<li>Fix toolbar bitmaps so they are not transparent (problem with Windows XP flat menus only)</li>
<li>Used CMDICommandBarCtrl for MDI apps</li>
<li>Add symbols required for VC7 Class Wizard to recognize an ATL project</li>
<li>Changed default styles for the rebar, so it does look OK without CmdBar and with manifest</li>
<li>Added setup programs for both AppWizards</li>
<li>Remove ignored resource attributes: MOVEABLE, PURE, etc. (AppWizard 7.0 only)</li>
<li>Add call to DefWindowProc to WinMain to resolve possible problems if MSLU is used</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Samples:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Updated toolbar bitmaps, added #ifdefs for ATL7, added manifest file for CommCtrl6, qualified _U_RECT with WTL
namespace, updated use of deprecated CRegKey functions, added VC7 projects</li>
<li>Added Alpha sample</li>
</ul>
</blockquote>
<p style=margin:0px><br></p>
<h4>Changes Between WTL 3.1 and 3.0</h4>
<p style=margin:0px>New classes:</p>
<blockquote style='margin-top:0px;margin-bottom:0px'>
<p style=margin:0px>
CPaneContainer - implements a window that provides a title bar and a close button (like Explorer)
</p>
<p style=margin:0px>
CDialogResize - an MI class that allows resizing of dialogs (or any windows with child windows/controls)
</p>
<p style=margin:0px>
CAxPropertyPageImpl - implements a property page that can host ActiveX controls
</p>
</blockquote>
<p style=margin:0px><br></p>
<p style=margin:0px>Fixes and enhancements:</p>
<blockquote style='margin-top:0px;margin-bottom:0px'>
<p style=margin:0px>
CServerAppModule now clears m_hEventShutdown to avoid calling CloseHandle twice
</p>
<p style=margin:0px><br></p>
<p style=margin:0px>CString:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>operator += now leaves original string intact if it's out of memory</li>
<li>Fixed bad DWORD_PTR usage in TrimRight, TrimLeft, Replace, Remove</li>
<li>Removed dependencies on CRT for projects that don't use it</li>
<li>Insert - fixed string corruption in release builds</li>
<li>Added optional floating point formatting (for projects that use CRT)</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>
CEdit and CRichEditCtrl: SetSelAll and SetSelNone had reversed implementation
</p>
<p style=margin:0px><br></p>
<p style=margin:0px>
atlres.h: Changed IDs so that they are compatible with MFC's afxres.h
</p>
<p style=margin:0px><br></p>
<p style=margin:0px>Command Bar:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Added LoadMappedImages()</li>
<li>Changed handling of left and right arrow keys so that they don't close context menus</li>
<li>Add code to handle left/right arrow keys correctly on mirrored (RTL) systems</li>
<li>Removed handler that eats parent window's WM_SETTINGCHANGE</li>
<li>Fixed bitmap resource leak in Draw3DCheckmark</li>
<li>Fixed incorrect usage of CharLower in OnMenuChar</li>
<li>Fixed wrong color for the disabled items in hi-contrast mode</li>
<li>Added code to gray menu items if main window is inactive</li>
<li>Fixed keyboard mnemonic handling for IE 4</li>
<li>Fixed hook problems with multiple cmdbars in the same thread</li>
<li>Added support for radio menu items</li>
<li>Added support for disabled top-level menu items (also added in CFrameWindowImpl::PrepareChevronMenu)</li>
<li>Added keyboard shortcut (Alt+/) to invoke chevron menu</li>
<li>Added support to override menu item length in a derived class</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CBitmapButton:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Bypassed BUTTON DefWindowProc for hover style so that the button doesn't take focus</li>
<li>Added BMPBTN_AUTOFIRE extended style</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CDC:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Added _WTL_FORWARD_DECLARE_CSTRING define to allow usage of methods that accept CString</li>
<li>Fixed errors in GetTextFace and GetMenuItemString</li>
<li>Added GetCharWidth32</li>
<li>Added DrawIconEx method</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CMenu:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Implement following missing methods:<br>
GetMenuDefaultItem<br>
GetMenuInfo<br>
GetMenuItemRect<br>
HiliteMenuItem<br>
IsMenu<br>
MenuItemFromPoint<br>
SetMenuDefaultItem<br>
SetMenuInfo</li>
<li>GetMenuString - fixed to include space for terminating NULL character in returning string</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>
GDI and USER classes should destroy the GDI/USER objects in Attach if GDI/USER resource is managed
</p>
<p style=margin:0px><br></p>
<p style=margin:0px>CFrameWindowImpl:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>OnToolTipText shouldn't save tool tip text if it's not for a menu</li>
<li>AddSimpleReBarBandCtrl now adds chevron style only for toolbars with buttons</li>
<li>AddSimpleReBarBand(Ctrl) - calc band ID if not specified</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CRecentDocumentList:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Fix - UpdateMenu deletes wrong menu item when the list is empty</li>
<li>Added code to allow restricting the number of characters displayed by MRU menu items</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Update UI:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Added support for blocking accelerators for disabled items</li>
<li>Improved search code assuming there are no duplicate entries (and added checks for duplicates)</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>CSplitterWindow:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>CSplitterWindowImpl should derive from CSplitterImpl<T , t_bVertical> to allow overriding of methods</li>
<li>Added single pane mode and SetSinglePaneMode/GetSinglePaneMode</li>
<li>Added right/bottom aligned resize mode using extended styles SPLIT_RIGHTALIGNED/SPLIT_BOTTOMALIGNED</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>
atlcrack.h: Added handlers for following new
messages:<br>
WM_APPCOMMAND<br>
WM_NCXBUTTONDOWN<br>
WM_NCXBUTTONUP<br>
WM_NCXBUTTONDBLCLK<br>
WM_XBUTTONDOWN<br>
WM_XBUTTONUP<br>
WM_XBUTTONDBLCLK
</p>
<p style=margin:0px><br></p>
<p style=margin:0px>Win64:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Dialog return value should use DWLP_MSGRESULT and SetWindowLongPtr</li>
<li>CMenu::InsertMenu, AppendMenu, ModifyMenu should have UINT_PTR for the menu ID</li>
<li>Added appropriate type casts</li>
<li>CFrameWindowImpl::m_szAutoName - changed the size to fit the pointer value size</li>
<li>CListViewCtrl::SortItems should use LPARAM for user data instead of DWORD</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>Misc:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>Added optional mask argument to all methods for setting extended styles</li>
<li>CMDIWindow::MDIRestore - fixed to send WM_MDIRESTORE instead of WM_MDIICONARRANGE</li>
<li>CListViewCtrl: Added SortItemsEx method</li>
<li>CToolBarCtrl::GetButtonInfo - fixed to return int instead of BOOL</li>
<li>Added CToolBarCtrl::SetButtonSize and SetBitmapSize that accept cx and cy instead of SIZE</li>
<li>Printing: Changed how GetNewDevModeForPage works (comments in code)</li>
<li>CFileDialogImpl::_OnTypeChange incorrectly calls pT->OnSelChange instead of pT->OnTypeChange</li>
<li>CMultiPaneStatusBarCtrl::GetPaneTipText - fixed to use index instead of and ID internally</li>
<li>CWinDataExchange: Added references to arguments of DoDataExchange, so there are no level 4 warning
even if the map is empty</li>
<li>CPropertySheetWindow: Added new, IE 5.0 specific methods</li>
<li>CPropertyPageImpl: Added new, IE 5.0 specific methods</li>
</ul>
<p style=margin:0px><br></p>
<p style=margin:0px>AppWizard:</p>
<ul style='margin-top:0px;margin-bottom:0px'>
<li>added calls to RemoveMessageFilter and RemoveIdleHandler in CMainFrame::OnDestroy for COM server projects</li>
<li>added scroll bars for HTML view</li>
<li>CAppServerModule now handles -embedding as well as -automation</li>
<li>corrected code in CMainFrame::OnShowToolBar to correctly identify the toolbar in a rebar</li>
<li>dialog based app code now derives from CUpdateUI as public</li>
</ul>
</blockquote>
<p style=margin:0px><br></p>
<p style=margin:0px>- end of readme.html -</p>
</body>
</html>
|