From bd2770f375ddacfc517d4ebc4dcfedb4c0c54673 Mon Sep 17 00:00:00 2001 From: AllenKuo Date: Wed, 1 Jan 2025 06:17:14 +0800 Subject: [PATCH] Support Visual Studio 2022 Synchronized to WTL10 10320 as the basis. And supports Visual Studio 2017-2022. - Sync to WTL10 10320 - Redesigned WTL wizards - Fix NUGET powershell script (not full tested yet) - New Artworks --- AppWiz/Files/1033/styles.css | 582 -- AppWiz/Files/Images/WTLApp70.gif | Bin 486 -> 0 bytes AppWiz/Files/Images/WTLApp70_Background.gif | Bin 1241 -> 0 bytes AppWiz/Files/Templates/1033/AboutDlg.h | 42 - AppWiz/Files/Templates/1033/ChildFrm.cpp | 57 - AppWiz/Files/Templates/1033/ChildFrm.h | 90 - AppWiz/Files/Templates/1033/Frame.h | 615 -- AppWiz/Files/Templates/1033/MainDlg.cpp | 164 - AppWiz/Files/Templates/1033/MainDlg.h | 256 - AppWiz/Files/Templates/1033/ReadMe.txt | 18 - AppWiz/Files/Templates/1033/root.exe.manifest | 24 - AppWiz/Files/Templates/1033/root.ico | Bin 1078 -> 0 bytes AppWiz/Files/WTLAppWiz.ico | Bin 1078 -> 0 bytes AppWiz/Files/WTLAppWiz.vsdir | 1 - AppWiz/Files_15/1033/styles.css | 582 -- AppWiz/Files_15/HTML/1033/AppType.htm | 471 -- AppWiz/Files_15/HTML/1033/UIFeatures.htm | 554 -- AppWiz/Files_15/HTML/1033/default.htm | 534 -- AppWiz/Files_15/Images/WTLApp70.gif | Bin 486 -> 0 bytes .../Files_15/Images/WTLApp70_Background.gif | Bin 1241 -> 0 bytes AppWiz/Files_15/Scripts/1033/default.js | 590 -- AppWiz/Files_15/Templates/1033/AboutDlg.cpp | 20 - AppWiz/Files_15/Templates/1033/AboutDlg.h | 42 - AppWiz/Files_15/Templates/1033/Frame.cpp | 436 -- AppWiz/Files_15/Templates/1033/ReadMe.txt | 18 - AppWiz/Files_15/Templates/1033/Ribbon.h | 39 - AppWiz/Files_15/Templates/1033/Ribbon.xml | 185 - AppWiz/Files_15/Templates/1033/Templates.inf | 63 - AppWiz/Files_15/Templates/1033/View.cpp | 73 - AppWiz/Files_15/Templates/1033/View.h | 119 - AppWiz/Files_15/Templates/1033/resource.h | 59 - AppWiz/Files_15/Templates/1033/root.cpp | 402 -- .../Files_15/Templates/1033/root.exe.manifest | 24 - AppWiz/Files_15/Templates/1033/root.h | 1 - AppWiz/Files_15/Templates/1033/root.ico | Bin 48709 -> 0 bytes AppWiz/Files_15/Templates/1033/root.idl | 20 - AppWiz/Files_15/Templates/1033/root.rc | 534 -- AppWiz/Files_15/Templates/1033/root.rgs | 11 - AppWiz/Files_15/Templates/1033/rootDoc.ico | Bin 1078 -> 0 bytes AppWiz/Files_15/Templates/1033/rootidl.h | 4 - AppWiz/Files_15/Templates/1033/rootps.def | 11 - AppWiz/Files_15/Templates/1033/rootps.mk | 16 - AppWiz/Files_15/Templates/1033/stdafx.cpp | 18 - AppWiz/Files_15/Templates/1033/stdafx.h | 128 - AppWiz/Files_15/Templates/1033/targetver.h | 8 - AppWiz/Files_15/Templates/1033/toolbar.bmp | Bin 1078 -> 0 bytes AppWiz/Files_15/WTLAppWiz.ico | Bin 44174 -> 0 bytes AppWiz/Files_15/WTLAppWiz.vsdir | 1 - AppWiz/Files_15/WTLAppWiz.vsz | 5 - AppWiz/Setup.js | 450 -- AppWizCE/Files/HTML/1033/AppType.htm | 507 -- AppWizCE/Files/HTML/1033/Platforms.htm | 716 --- AppWizCE/Files/HTML/1033/UIFeatures.htm | 508 -- AppWizCE/Files/HTML/1033/default.htm | 535 -- AppWizCE/Files/Images/WTLApp70.gif | Bin 486 -> 0 bytes AppWizCE/Files/Images/WTLApp70_Background.gif | Bin 1241 -> 0 bytes AppWizCE/Files/Scripts/1033/default.js | 524 -- AppWizCE/Files/Templates/1033/AboutDlg.cpp | 20 - AppWizCE/Files/Templates/1033/Frame.cpp | 249 - AppWizCE/Files/Templates/1033/Frame.h | 341 -- AppWizCE/Files/Templates/1033/MainDlg.cpp | 162 - AppWizCE/Files/Templates/1033/MainDlg.h | 255 - AppWizCE/Files/Templates/1033/Templates.inf | 50 - AppWizCE/Files/Templates/1033/View.cpp | 56 - AppWizCE/Files/Templates/1033/View.h | 92 - AppWizCE/Files/Templates/1033/resource.h | 47 - AppWizCE/Files/Templates/1033/root.cpp | 355 -- AppWizCE/Files/Templates/1033/root.h | 1 - AppWizCE/Files/Templates/1033/root.ico | Bin 1078 -> 0 bytes AppWizCE/Files/Templates/1033/root.idl | 20 - AppWizCE/Files/Templates/1033/root.rc | 487 -- AppWizCE/Files/Templates/1033/root.rc2 | 48 - AppWizCE/Files/Templates/1033/root.rgs | 11 - AppWizCE/Files/Templates/1033/rootidl.h | 4 - AppWizCE/Files/Templates/1033/rootps.def | 11 - AppWizCE/Files/Templates/1033/rootps.mk | 16 - AppWizCE/Files/Templates/1033/stdafx.cpp | 20 - AppWizCE/Files/Templates/1033/stdafx.h | 59 - AppWizCE/Files/Templates/1033/toolbar.bmp | Bin 958 -> 0 bytes AppWizCE/Files/WTLAppWizCE.ico | Bin 1078 -> 0 bytes AppWizCE/Files/WTLAppWizCE.vsdir | 1 - AppWizCE/Files/WTLAppWizCE.vsz | 7 - AppWizCE/setup80.js | 221 - AppWizCE/setup90.js | 223 - AppWizMobile/Files/1033/NewStyles.css | 807 --- AppWizMobile/Files/HTML/1033/AppType.htm | 531 -- AppWizMobile/Files/HTML/1033/Platforms.htm | 772 --- AppWizMobile/Files/HTML/1033/UIFeatures.htm | 567 -- AppWizMobile/Files/HTML/1033/default.htm | 630 -- AppWizMobile/Files/Images/AppWizCE2.gif | Bin 2636 -> 0 bytes .../Files/Images/AppWizCE2_Background.gif | Bin 811 -> 0 bytes AppWizMobile/Files/Images/WTLApp70.gif | Bin 486 -> 0 bytes .../Files/Images/WTLApp70_Background.gif | Bin 1241 -> 0 bytes AppWizMobile/Files/Scripts/1033/default.js | 937 --- .../Files/Templates/1033/AboutDlg.cpp | 12 - AppWizMobile/Files/Templates/1033/AboutDlg.h | 30 - AppWizMobile/Files/Templates/1033/Frame.cpp | 17 - AppWizMobile/Files/Templates/1033/Frame.h | 276 - AppWizMobile/Files/Templates/1033/MainDlg.cpp | 16 - AppWizMobile/Files/Templates/1033/MainDlg.h | 136 - .../Files/Templates/1033/Templates.inf | 42 - AppWizMobile/Files/Templates/1033/View.cpp | 13 - AppWizMobile/Files/Templates/1033/View.h | 112 - AppWizMobile/Files/Templates/1033/resource.h | 39 - AppWizMobile/Files/Templates/1033/root.cpp | 86 - AppWizMobile/Files/Templates/1033/root.ico | Bin 1078 -> 0 bytes AppWizMobile/Files/Templates/1033/root.rc2 | 59 - AppWizMobile/Files/Templates/1033/rootppc.rc | 360 -- AppWizMobile/Files/Templates/1033/rootsp.rc | 317 - AppWizMobile/Files/Templates/1033/stdafx.cpp | 11 - AppWizMobile/Files/Templates/1033/stdafx.h | 74 - AppWizMobile/Files/Templates/1033/toolbar.bmp | Bin 958 -> 0 bytes AppWizMobile/Files/WTLMobile.ico | Bin 1078 -> 0 bytes AppWizMobile/Files/WTLMobile.vsdir | 1 - AppWizMobile/Files/WTLMobile.vsz | 7 - AppWizMobile/setup80.js | 107 - AppWizMobile/setup90.js | 106 - .../Files/HTML/1033/AppType.htm | 41 +- .../Files/HTML/1033/UIFeatures.htm | 21 +- .../Files/HTML/1033/default.htm | 17 +- AppWizard/Files/Images/WTL10AppWiz.png | Bin 0 -> 3792 bytes .../Files/Images/WTL10AppWiz_Background.png | Bin 0 -> 1189 bytes AppWizard/Files/Images/spacer.gif | Bin 0 -> 43 bytes .../Files/Scripts/1033/default.js | 128 +- .../Files/Templates/1033/AboutDlg.cpp | 0 .../Files/Templates/1033/AboutDlg.h | 2 +- .../Files}/Templates/1033/ChildFrm.cpp | 2 +- .../Files}/Templates/1033/ChildFrm.h | 4 +- .../Files/Templates/1033/Frame.cpp | 22 +- .../Files}/Templates/1033/Frame.h | 42 +- .../Files}/Templates/1033/MainDlg.cpp | 16 +- .../Files}/Templates/1033/MainDlg.h | 20 +- .../Files/Templates/1033/Ribbon.h | 0 .../Files/Templates/1033/Ribbon.xml | 0 .../Files/Templates/1033/Templates.inf | 4 - .../Files/Templates/1033/View.cpp | 6 +- .../Files/Templates/1033/View.h | 8 +- .../Files/Templates/1033/resource.h | 0 .../Files/Templates/1033/root.cpp | 41 +- .../Files/Templates/1033/root.h | 0 AppWizard/Files/Templates/1033/root.ico | Bin 0 -> 11502 bytes .../Files/Templates/1033/root.idl | 0 .../Files/Templates/1033/root.rc | 20 +- .../Files/Templates/1033/root.rgs | 0 .../Files/Templates/1033/rootDoc.ico | Bin .../Files/Templates/1033/rootidl.h | 0 .../Files/Templates/1033/rootps.def | 0 .../Files/Templates/1033/rootps.mk | 0 .../Files/Templates/1033/stdafx.cpp | 7 - .../Files/Templates/1033/stdafx.h | 74 +- .../Files/Templates/1033/toolbar.bmp | Bin AppWizard/Files/WTL10AppWiz.ico | Bin 0 -> 50051 bytes AppWizard/Files/WTL10AppWiz.vsdir | 1 + .../Files/WTL10AppWiz.vsz | 0 AppWizard/Setup.js | 540 ++ Artwork/WTL10AppWiz.ico | Bin 0 -> 50051 bytes Artwork/WTL10AppWiz.png | Bin 0 -> 7629 bytes Artwork/WTL10AppWiz_org.ico | Bin 0 -> 11502 bytes Artwork/WTLWizardDialog.png | Bin 35583 -> 59695 bytes Artwork/WTLWizardDialog2.png | Bin 0 -> 43929 bytes Include/atlapp.h | 1369 +---- Include/atlcrack.h | 1125 ++-- Include/atlctrls.h | 5214 ++++++++-------- Include/atlctrlw.h | 1090 ++-- Include/atlctrlx.h | 1678 +++--- Include/atlddx.h | 97 +- Include/atldlgs.h | 882 +-- Include/atldwm.h | 73 +- Include/atlfind.h | 259 +- Include/atlframe.h | 1043 ++-- Include/atlgdi.h | 644 +- Include/atlmisc.h | 3466 ++--------- Include/atlprint.h | 181 +- Include/atlres.h | 28 +- Include/atlresce.h | 90 - Include/atlribbon.h | 677 ++- Include/atlscrl.h | 421 +- Include/atlsplit.h | 83 +- Include/atltheme.h | 121 +- Include/atluser.h | 240 +- Include/atlwince.h | 2981 ---------- Include/atlwinx.h | 483 +- README.md | 33 +- ReadMe.html | 5222 +++++++---------- Samples/Aero/Aero.h | 9 - Samples/Aero/{Aero.sln => Aero_2005.sln} | 2 +- .../Aero/{Aero.vcproj => Aero_2005.vcproj} | 4 +- Samples/Aero/Aero_2010.sln | 19 + Samples/Aero/Aero_2010.vcxproj | 140 + Samples/Aero/Aero_2010.vcxproj.filters | 58 + Samples/Aero/res/Aero.ico | Bin 1078 -> 11502 bytes Samples/Aero/stdafx.cpp | 4 - Samples/Aero/stdafx.h | 2 +- Samples/Alpha/Alpha.dsp | 148 - Samples/Alpha/Alpha.dsw | 29 - Samples/Alpha/Alpha.rc | 23 - Samples/Alpha/Alpha.sln | 21 - Samples/Alpha/Alpha.vcproj | 188 - Samples/Alpha/{Alpha80.sln => Alpha_2005.sln} | 2 +- .../{Alpha80.vcproj => Alpha_2005.vcproj} | 6 +- Samples/Alpha/Alpha_2010.sln | 19 + Samples/Alpha/Alpha_2010.vcxproj | 150 + Samples/Alpha/Alpha_2010.vcxproj.filters | 58 + Samples/Alpha/res/Alpha.exe.manifest | 12 - Samples/Alpha/res/Alpha.ico | Bin 1078 -> 11502 bytes Samples/Alpha/stdafx.cpp | 4 - Samples/Alpha/stdafx.h | 9 +- Samples/BmpView/BmpView.cpp | 24 +- Samples/BmpView/BmpView.dsp | 150 - Samples/BmpView/BmpView.dsw | 29 - Samples/BmpView/BmpView.rc | 23 - Samples/BmpView/BmpView.sln | 21 - Samples/BmpView/BmpView.vcproj | 197 - Samples/BmpView/BmpViewCE.rc | 380 -- Samples/BmpView/BmpViewCE.vcp | 1163 ---- Samples/BmpView/BmpViewCE.vcw | 29 - Samples/BmpView/BmpViewPPC.rc | 349 -- Samples/BmpView/BmpViewPPC.vcp | 1155 ---- Samples/BmpView/BmpViewPPC.vcw | 29 - .../{BmpView80.sln => BmpView_2005.sln} | 2 +- .../{BmpView80.vcproj => BmpView_2005.vcproj} | 6 +- Samples/BmpView/BmpView_2010.sln | 19 + Samples/BmpView/BmpView_2010.vcxproj | 162 + Samples/BmpView/BmpView_2010.vcxproj.filters | 63 + Samples/BmpView/list.h | 2 - Samples/BmpView/mainfrm.h | 108 +- Samples/BmpView/props.h | 22 - Samples/BmpView/res/BmpView.exe.manifest | 12 - Samples/BmpView/res/BmpView.ico | Bin 1078 -> 11502 bytes Samples/BmpView/res/ToolbarCE.bmp | Bin 838 -> 0 bytes Samples/BmpView/resourcece.h | 34 - Samples/BmpView/resourceppc.h | 34 - Samples/BmpView/stdafx.cpp | 4 - Samples/BmpView/stdafx.h | 15 +- Samples/BmpView/view.h | 8 - Samples/GuidGen/GuidGen.dsp | 139 - Samples/GuidGen/GuidGen.dsw | 29 - Samples/GuidGen/GuidGen.rc | 23 - Samples/GuidGen/GuidGen.sln | 21 - Samples/GuidGen/GuidGen.vcproj | 185 - Samples/GuidGen/GuidGenCE.rc | 197 - Samples/GuidGen/GuidGenCE.vcp | 1107 ---- Samples/GuidGen/GuidGenCE.vcw | 29 - .../{GuidGen80.sln => GuidGen_2005.sln} | 2 +- .../{GuidGen80.vcproj => GuidGen_2005.vcproj} | 4 +- Samples/GuidGen/GuidGen_2010.sln | 19 + Samples/GuidGen/GuidGen_2010.vcxproj | 158 + Samples/GuidGen/GuidGen_2010.vcxproj.filters | 54 + Samples/GuidGen/maindlg.h | 2 - Samples/GuidGen/res/GuidGen.exe.manifest | 12 - Samples/GuidGen/resourcece.h | 33 - Samples/GuidGen/stdatl.cpp | 4 - Samples/GuidGen/stdatl.h | 8 +- Samples/ImageView/ImageView.EVC.rc | 486 -- Samples/ImageView/ImageView.VS.rc | 461 -- Samples/ImageView/ImageView.VS.rc2 | 28 - Samples/ImageView/ImageView.cpp | 53 - Samples/ImageView/ImageView.sln | 46 - Samples/ImageView/ImageView.vcp | 1217 ---- Samples/ImageView/ImageView.vcproj | 1016 ---- Samples/ImageView/ImageView.vcw | 29 - Samples/ImageView/ImageViewdlg.h | 515 -- Samples/ImageView/ImageViewview.h | 281 - Samples/ImageView/mainfrm.h | 386 -- Samples/ImageView/res/BmpView.ico | Bin 1078 -> 0 bytes Samples/ImageView/res/bitmap1.bmp | Bin 2862 -> 0 bytes Samples/ImageView/res/bitmap2.bmp | Bin 1022 -> 0 bytes Samples/ImageView/resource.h | 80 - Samples/ImageView/stdafx.cpp | 6 - Samples/ImageView/stdafx.h | 24 - Samples/MDIDocVw/HELLO.ICO | Bin 766 -> 0 bytes Samples/MDIDocVw/MDI.ICO | Bin 1078 -> 0 bytes Samples/MDIDocVw/MDI.dsp | 159 - Samples/MDIDocVw/MDI.dsw | 29 - Samples/MDIDocVw/MDI.rc | 27 +- Samples/MDIDocVw/MDI.sln | 21 - Samples/MDIDocVw/MDI.vcproj | 200 - Samples/MDIDocVw/{MDI80.sln => MDI_2005.sln} | 2 +- .../{MDI80.vcproj => MDI_2005.vcproj} | 10 +- Samples/MDIDocVw/MDI_2010.sln | 19 + Samples/MDIDocVw/MDI_2010.vcxproj | 162 + Samples/MDIDocVw/MDI_2010.vcxproj.filters | 66 + Samples/MDIDocVw/mainfrm.h | 14 +- Samples/MDIDocVw/res/MDI.ICO | Bin 1078 -> 1078 bytes Samples/MDIDocVw/res/MDI.RC2 | 13 - Samples/MDIDocVw/res/MDI.exe.manifest | 12 - .../MDIDocVw/res/{idr_boun.ico => bounce.ico} | Bin Samples/MDIDocVw/stdafx.cpp | 4 - Samples/MDIDocVw/stdafx.h | 7 +- Samples/MTPad/MTPad.cpp | 6 - Samples/MTPad/MTPad.dsp | 166 - Samples/MTPad/MTPad.dsw | 33 - Samples/MTPad/MTPad.h | 4 - Samples/MTPad/MTPad.rc | 23 - Samples/MTPad/MTPad.sln | 21 - Samples/MTPad/MTPad.vcproj | 203 - Samples/MTPad/MTPadCE.rc | 339 -- Samples/MTPad/MTPadCE.vcp | 1172 ---- Samples/MTPad/MTPadCE.vcw | 29 - Samples/MTPad/{MTPad80.sln => MTPad_2005.sln} | 2 +- .../{MTPad80.vcproj => MTPad_2005.vcproj} | 4 +- Samples/MTPad/MTPad_2010.sln | 19 + Samples/MTPad/MTPad_2010.vcxproj | 164 + Samples/MTPad/MTPad_2010.vcxproj.filters | 72 + Samples/MTPad/mainfrm.h | 51 +- Samples/MTPad/res/MTPad.exe.manifest | 12 - Samples/MTPad/res/ToolbarCE.bmp | Bin 1078 -> 0 bytes Samples/MTPad/resourcece.h | 27 - Samples/MTPad/stdatl.cpp | 4 - Samples/MTPad/stdatl.h | 20 +- Samples/MTPad/view.h | 45 - Samples/MTPad7/MTPad.h | 4 - .../MTPad7/{MTPad7.sln => MTPad7_2008.sln} | 2 +- .../{MTPad.vcproj => MTPad7_2008.vcproj} | 0 Samples/MTPad7/MTPad7_2010.sln | 19 + Samples/MTPad7/MTPad7_2010.vcxproj | 189 + Samples/MTPad7/MTPad7_2010.vcxproj.filters | 91 + Samples/MTPad7/mainfrm.h | 4 +- Samples/MTPad7/stdatl.cpp | 4 - Samples/MTPad7/stdatl.h | 44 +- .../MemDlg/{MemDlg.sln => MemDlg_2005.sln} | 2 +- .../{MemDlg.vcproj => MemDlg_2005.vcproj} | 0 Samples/MemDlg/MemDlg_2010.sln | 25 + Samples/MemDlg/MemDlg_2010.vcxproj | 233 + Samples/MemDlg/MemDlg_2010.vcxproj.filters | 58 + Samples/MemDlg/res/MemDlg.ico | Bin 1078 -> 11502 bytes Samples/MemDlg/stdafx.cpp | 4 - Samples/MemDlg/stdafx.h | 6 +- Samples/MiniPie/MiniPie.cpp | 45 - Samples/MiniPie/MiniPie.rc2 | 47 - Samples/MiniPie/MiniPie.sln | 45 - Samples/MiniPie/MiniPie.vcproj | 944 --- Samples/MiniPie/MiniPieFrame.cpp | 269 - Samples/MiniPie/MiniPieFrame.h | 98 - Samples/MiniPie/MiniPieppc.rc | 257 - Samples/MiniPie/MiniPiesp.rc | 255 - Samples/MiniPie/UrlDlg.cpp | 53 - Samples/MiniPie/UrlDlg.h | 64 - Samples/MiniPie/res/MiniPie.ico | Bin 1078 -> 0 bytes Samples/MiniPie/resourceppc.h | 28 - Samples/MiniPie/resourcesp.h | 28 - Samples/MiniPie/stdafx.cpp | 5 - Samples/MiniPie/stdafx.h | 35 - Samples/SPControls/SPcontrols.cpp | 46 - Samples/SPControls/SPcontrols.rc | 196 - Samples/SPControls/SPcontrols.sln | 46 - Samples/SPControls/SPcontrols.vcp | 559 -- Samples/SPControls/SPcontrols.vcproj | 952 --- Samples/SPControls/SPcontrols.vcw | 29 - Samples/SPControls/atlcesp.rc | 34 - Samples/SPControls/maindlg.h | 166 - Samples/SPControls/res/SPcontrols.ico | Bin 1078 -> 0 bytes Samples/SPControls/resource.h | 22 - Samples/SPControls/stdafx.cpp | 6 - Samples/SPControls/stdafx.h | 19 - Samples/TabBrowser/BrowserView.h | 6 - Samples/TabBrowser/TabBrowser.rc | 21 - Samples/TabBrowser/TabBrowser60.dsp | 178 - Samples/TabBrowser/TabBrowser60.dsw | 29 - Samples/TabBrowser/TabBrowser70.sln | 21 - Samples/TabBrowser/TabBrowser70.vcproj | 201 - Samples/TabBrowser/TabBrowser71.sln | 21 - Samples/TabBrowser/TabBrowser71.vcproj | 215 - Samples/TabBrowser/TabBrowser80x.vcproj | 299 - .../{TabBrowser80.sln => TabBrowser_2005.sln} | 2 +- ...rowser80.vcproj => TabBrowser_2005.vcproj} | 2 +- ...{TabBrowser80x.sln => TabBrowser_2010.sln} | 7 +- Samples/TabBrowser/TabBrowser_2010.vcxproj | 146 + .../TabBrowser_2010.vcxproj.filters | 79 + .../TabBrowser/res/TabBrowser.exe.manifest | 24 - Samples/TabBrowser/res/TabBrowser.ico | Bin 1078 -> 11502 bytes Samples/TabBrowser/stdafx.cpp | 4 - Samples/TabBrowser/stdafx.h | 44 +- Samples/WTLExplorer/MainFrm.cpp | 12 +- Samples/WTLExplorer/WTLExplorer.rc | 25 +- ...WTLExplorer80.sln => WTLExplorer_2005.sln} | 2 +- ...lorer80.vcproj => WTLExplorer_2005.vcproj} | 8 +- Samples/WTLExplorer/WTLExplorer_2010.sln | 19 + Samples/WTLExplorer/WTLExplorer_2010.vcxproj | 180 + .../WTLExplorer_2010.vcxproj.filters | 67 + Samples/WTLExplorer/mainfrm.h | 4 - .../WTLExplorer/res/WTLExplorer.exe.manifest | 12 - Samples/WTLExplorer/res/WTLExplorer.ico | Bin 1078 -> 11502 bytes .../WTLExplorer/res/{idt_go1.bmp => go1.bmp} | Bin Samples/WTLExplorer/stdafx.cpp | 4 - Samples/WTLExplorer/stdafx.h | 9 +- .../Wizard/TestWizardCompletionPage.cpp | 6 +- .../Wizard97Test/Wizard/TestWizardInfo.cpp | 6 +- Samples/Wizard97Test/Wizard97Test.dsp | 306 - Samples/Wizard97Test/Wizard97Test.dsw | 29 - Samples/Wizard97Test/Wizard97Test.rc | 23 - Samples/Wizard97Test/Wizard97Test.sln | 30 - Samples/Wizard97Test/Wizard97Test.vcproj | 396 -- ...zard97Test80.sln => Wizard97Test_2005.sln} | 8 +- ...Test80.vcproj => Wizard97Test_2005.vcproj} | 204 +- Samples/Wizard97Test/Wizard97Test_2010.sln | 22 + .../Wizard97Test/Wizard97Test_2010.vcxproj | 183 + .../Wizard97Test_2010.vcxproj.filters | 121 + .../res/Wizard97Test.exe.manifest | 24 - Samples/Wizard97Test/res/Wizard97Test.ico | Bin 1078 -> 11502 bytes Samples/Wizard97Test/stdafx.cpp | 4 - Samples/Wizard97Test/stdafx.h | 36 +- install.ps1 | 104 +- 403 files changed, 12994 insertions(+), 57238 deletions(-) delete mode 100644 AppWiz/Files/1033/styles.css delete mode 100644 AppWiz/Files/Images/WTLApp70.gif delete mode 100644 AppWiz/Files/Images/WTLApp70_Background.gif delete mode 100644 AppWiz/Files/Templates/1033/AboutDlg.h delete mode 100644 AppWiz/Files/Templates/1033/ChildFrm.cpp delete mode 100644 AppWiz/Files/Templates/1033/ChildFrm.h delete mode 100644 AppWiz/Files/Templates/1033/Frame.h delete mode 100644 AppWiz/Files/Templates/1033/MainDlg.cpp delete mode 100644 AppWiz/Files/Templates/1033/MainDlg.h delete mode 100644 AppWiz/Files/Templates/1033/ReadMe.txt delete mode 100644 AppWiz/Files/Templates/1033/root.exe.manifest delete mode 100644 AppWiz/Files/Templates/1033/root.ico delete mode 100644 AppWiz/Files/WTLAppWiz.ico delete mode 100644 AppWiz/Files/WTLAppWiz.vsdir delete mode 100644 AppWiz/Files_15/1033/styles.css delete mode 100644 AppWiz/Files_15/HTML/1033/AppType.htm delete mode 100644 AppWiz/Files_15/HTML/1033/UIFeatures.htm delete mode 100644 AppWiz/Files_15/HTML/1033/default.htm delete mode 100644 AppWiz/Files_15/Images/WTLApp70.gif delete mode 100644 AppWiz/Files_15/Images/WTLApp70_Background.gif delete mode 100644 AppWiz/Files_15/Scripts/1033/default.js delete mode 100644 AppWiz/Files_15/Templates/1033/AboutDlg.cpp delete mode 100644 AppWiz/Files_15/Templates/1033/AboutDlg.h delete mode 100644 AppWiz/Files_15/Templates/1033/Frame.cpp delete mode 100644 AppWiz/Files_15/Templates/1033/ReadMe.txt delete mode 100644 AppWiz/Files_15/Templates/1033/Ribbon.h delete mode 100644 AppWiz/Files_15/Templates/1033/Ribbon.xml delete mode 100644 AppWiz/Files_15/Templates/1033/Templates.inf delete mode 100644 AppWiz/Files_15/Templates/1033/View.cpp delete mode 100644 AppWiz/Files_15/Templates/1033/View.h delete mode 100644 AppWiz/Files_15/Templates/1033/resource.h delete mode 100644 AppWiz/Files_15/Templates/1033/root.cpp delete mode 100644 AppWiz/Files_15/Templates/1033/root.exe.manifest delete mode 100644 AppWiz/Files_15/Templates/1033/root.h delete mode 100644 AppWiz/Files_15/Templates/1033/root.ico delete mode 100644 AppWiz/Files_15/Templates/1033/root.idl delete mode 100644 AppWiz/Files_15/Templates/1033/root.rc delete mode 100644 AppWiz/Files_15/Templates/1033/root.rgs delete mode 100644 AppWiz/Files_15/Templates/1033/rootDoc.ico delete mode 100644 AppWiz/Files_15/Templates/1033/rootidl.h delete mode 100644 AppWiz/Files_15/Templates/1033/rootps.def delete mode 100644 AppWiz/Files_15/Templates/1033/rootps.mk delete mode 100644 AppWiz/Files_15/Templates/1033/stdafx.cpp delete mode 100644 AppWiz/Files_15/Templates/1033/stdafx.h delete mode 100644 AppWiz/Files_15/Templates/1033/targetver.h delete mode 100644 AppWiz/Files_15/Templates/1033/toolbar.bmp delete mode 100644 AppWiz/Files_15/WTLAppWiz.ico delete mode 100644 AppWiz/Files_15/WTLAppWiz.vsdir delete mode 100644 AppWiz/Files_15/WTLAppWiz.vsz delete mode 100644 AppWiz/Setup.js delete mode 100644 AppWizCE/Files/HTML/1033/AppType.htm delete mode 100644 AppWizCE/Files/HTML/1033/Platforms.htm delete mode 100644 AppWizCE/Files/HTML/1033/UIFeatures.htm delete mode 100644 AppWizCE/Files/HTML/1033/default.htm delete mode 100644 AppWizCE/Files/Images/WTLApp70.gif delete mode 100644 AppWizCE/Files/Images/WTLApp70_Background.gif delete mode 100644 AppWizCE/Files/Scripts/1033/default.js delete mode 100644 AppWizCE/Files/Templates/1033/AboutDlg.cpp delete mode 100644 AppWizCE/Files/Templates/1033/Frame.cpp delete mode 100644 AppWizCE/Files/Templates/1033/Frame.h delete mode 100644 AppWizCE/Files/Templates/1033/MainDlg.cpp delete mode 100644 AppWizCE/Files/Templates/1033/MainDlg.h delete mode 100644 AppWizCE/Files/Templates/1033/Templates.inf delete mode 100644 AppWizCE/Files/Templates/1033/View.cpp delete mode 100644 AppWizCE/Files/Templates/1033/View.h delete mode 100644 AppWizCE/Files/Templates/1033/resource.h delete mode 100644 AppWizCE/Files/Templates/1033/root.cpp delete mode 100644 AppWizCE/Files/Templates/1033/root.h delete mode 100644 AppWizCE/Files/Templates/1033/root.ico delete mode 100644 AppWizCE/Files/Templates/1033/root.idl delete mode 100644 AppWizCE/Files/Templates/1033/root.rc delete mode 100644 AppWizCE/Files/Templates/1033/root.rc2 delete mode 100644 AppWizCE/Files/Templates/1033/root.rgs delete mode 100644 AppWizCE/Files/Templates/1033/rootidl.h delete mode 100644 AppWizCE/Files/Templates/1033/rootps.def delete mode 100644 AppWizCE/Files/Templates/1033/rootps.mk delete mode 100644 AppWizCE/Files/Templates/1033/stdafx.cpp delete mode 100644 AppWizCE/Files/Templates/1033/stdafx.h delete mode 100644 AppWizCE/Files/Templates/1033/toolbar.bmp delete mode 100644 AppWizCE/Files/WTLAppWizCE.ico delete mode 100644 AppWizCE/Files/WTLAppWizCE.vsdir delete mode 100644 AppWizCE/Files/WTLAppWizCE.vsz delete mode 100644 AppWizCE/setup80.js delete mode 100644 AppWizCE/setup90.js delete mode 100644 AppWizMobile/Files/1033/NewStyles.css delete mode 100644 AppWizMobile/Files/HTML/1033/AppType.htm delete mode 100644 AppWizMobile/Files/HTML/1033/Platforms.htm delete mode 100644 AppWizMobile/Files/HTML/1033/UIFeatures.htm delete mode 100644 AppWizMobile/Files/HTML/1033/default.htm delete mode 100644 AppWizMobile/Files/Images/AppWizCE2.gif delete mode 100644 AppWizMobile/Files/Images/AppWizCE2_Background.gif delete mode 100644 AppWizMobile/Files/Images/WTLApp70.gif delete mode 100644 AppWizMobile/Files/Images/WTLApp70_Background.gif delete mode 100644 AppWizMobile/Files/Scripts/1033/default.js delete mode 100644 AppWizMobile/Files/Templates/1033/AboutDlg.cpp delete mode 100644 AppWizMobile/Files/Templates/1033/AboutDlg.h delete mode 100644 AppWizMobile/Files/Templates/1033/Frame.cpp delete mode 100644 AppWizMobile/Files/Templates/1033/Frame.h delete mode 100644 AppWizMobile/Files/Templates/1033/MainDlg.cpp delete mode 100644 AppWizMobile/Files/Templates/1033/MainDlg.h delete mode 100644 AppWizMobile/Files/Templates/1033/Templates.inf delete mode 100644 AppWizMobile/Files/Templates/1033/View.cpp delete mode 100644 AppWizMobile/Files/Templates/1033/View.h delete mode 100644 AppWizMobile/Files/Templates/1033/resource.h delete mode 100644 AppWizMobile/Files/Templates/1033/root.cpp delete mode 100644 AppWizMobile/Files/Templates/1033/root.ico delete mode 100644 AppWizMobile/Files/Templates/1033/root.rc2 delete mode 100644 AppWizMobile/Files/Templates/1033/rootppc.rc delete mode 100644 AppWizMobile/Files/Templates/1033/rootsp.rc delete mode 100644 AppWizMobile/Files/Templates/1033/stdafx.cpp delete mode 100644 AppWizMobile/Files/Templates/1033/stdafx.h delete mode 100644 AppWizMobile/Files/Templates/1033/toolbar.bmp delete mode 100644 AppWizMobile/Files/WTLMobile.ico delete mode 100644 AppWizMobile/Files/WTLMobile.vsdir delete mode 100644 AppWizMobile/Files/WTLMobile.vsz delete mode 100644 AppWizMobile/setup80.js delete mode 100644 AppWizMobile/setup90.js rename {AppWiz => AppWizard}/Files/HTML/1033/AppType.htm (92%) rename {AppWiz => AppWizard}/Files/HTML/1033/UIFeatures.htm (97%) rename {AppWiz => AppWizard}/Files/HTML/1033/default.htm (96%) create mode 100644 AppWizard/Files/Images/WTL10AppWiz.png create mode 100644 AppWizard/Files/Images/WTL10AppWiz_Background.png create mode 100644 AppWizard/Files/Images/spacer.gif rename {AppWiz => AppWizard}/Files/Scripts/1033/default.js (82%) rename {AppWiz => AppWizard}/Files/Templates/1033/AboutDlg.cpp (100%) rename {AppWizCE => AppWizard}/Files/Templates/1033/AboutDlg.h (95%) rename {AppWiz/Files_15 => AppWizard/Files}/Templates/1033/ChildFrm.cpp (97%) rename {AppWiz/Files_15 => AppWizard/Files}/Templates/1033/ChildFrm.h (97%) rename {AppWiz => AppWizard}/Files/Templates/1033/Frame.cpp (94%) rename {AppWiz/Files_15 => AppWizard/Files}/Templates/1033/Frame.h (93%) rename {AppWiz/Files_15 => AppWizard/Files}/Templates/1033/MainDlg.cpp (81%) rename {AppWiz/Files_15 => AppWizard/Files}/Templates/1033/MainDlg.h (86%) rename {AppWiz => AppWizard}/Files/Templates/1033/Ribbon.h (100%) rename {AppWiz => AppWizard}/Files/Templates/1033/Ribbon.xml (100%) rename {AppWiz => AppWizard}/Files/Templates/1033/Templates.inf (92%) rename {AppWiz => AppWizard}/Files/Templates/1033/View.cpp (91%) rename {AppWiz => AppWizard}/Files/Templates/1033/View.h (94%) rename {AppWiz => AppWizard}/Files/Templates/1033/resource.h (100%) rename {AppWiz => AppWizard}/Files/Templates/1033/root.cpp (86%) rename {AppWiz => AppWizard}/Files/Templates/1033/root.h (100%) create mode 100644 AppWizard/Files/Templates/1033/root.ico rename {AppWiz => AppWizard}/Files/Templates/1033/root.idl (100%) rename {AppWiz => AppWizard}/Files/Templates/1033/root.rc (98%) rename {AppWiz => AppWizard}/Files/Templates/1033/root.rgs (100%) rename {AppWiz => AppWizard}/Files/Templates/1033/rootDoc.ico (100%) rename {AppWiz => AppWizard}/Files/Templates/1033/rootidl.h (100%) rename {AppWiz => AppWizard}/Files/Templates/1033/rootps.def (100%) rename {AppWiz => AppWizard}/Files/Templates/1033/rootps.mk (100%) rename {AppWiz => AppWizard}/Files/Templates/1033/stdafx.cpp (67%) rename {AppWiz => AppWizard}/Files/Templates/1033/stdafx.h (57%) rename {AppWiz => AppWizard}/Files/Templates/1033/toolbar.bmp (100%) create mode 100644 AppWizard/Files/WTL10AppWiz.ico create mode 100644 AppWizard/Files/WTL10AppWiz.vsdir rename AppWiz/Files/WTLAppWiz.vsz => AppWizard/Files/WTL10AppWiz.vsz (100%) create mode 100644 AppWizard/Setup.js create mode 100644 Artwork/WTL10AppWiz.ico create mode 100644 Artwork/WTL10AppWiz.png create mode 100644 Artwork/WTL10AppWiz_org.ico create mode 100644 Artwork/WTLWizardDialog2.png delete mode 100644 Include/atlresce.h delete mode 100644 Include/atlwince.h rename Samples/Aero/{Aero.sln => Aero_2005.sln} (93%) rename Samples/Aero/{Aero.vcproj => Aero_2005.vcproj} (98%) create mode 100644 Samples/Aero/Aero_2010.sln create mode 100644 Samples/Aero/Aero_2010.vcxproj create mode 100644 Samples/Aero/Aero_2010.vcxproj.filters delete mode 100644 Samples/Alpha/Alpha.dsp delete mode 100644 Samples/Alpha/Alpha.dsw delete mode 100644 Samples/Alpha/Alpha.sln delete mode 100644 Samples/Alpha/Alpha.vcproj rename Samples/Alpha/{Alpha80.sln => Alpha_2005.sln} (93%) rename Samples/Alpha/{Alpha80.vcproj => Alpha_2005.vcproj} (98%) create mode 100644 Samples/Alpha/Alpha_2010.sln create mode 100644 Samples/Alpha/Alpha_2010.vcxproj create mode 100644 Samples/Alpha/Alpha_2010.vcxproj.filters delete mode 100644 Samples/Alpha/res/Alpha.exe.manifest delete mode 100644 Samples/BmpView/BmpView.dsp delete mode 100644 Samples/BmpView/BmpView.dsw delete mode 100644 Samples/BmpView/BmpView.sln delete mode 100644 Samples/BmpView/BmpView.vcproj delete mode 100644 Samples/BmpView/BmpViewCE.rc delete mode 100644 Samples/BmpView/BmpViewCE.vcp delete mode 100644 Samples/BmpView/BmpViewCE.vcw delete mode 100644 Samples/BmpView/BmpViewPPC.rc delete mode 100644 Samples/BmpView/BmpViewPPC.vcp delete mode 100644 Samples/BmpView/BmpViewPPC.vcw rename Samples/BmpView/{BmpView80.sln => BmpView_2005.sln} (92%) rename Samples/BmpView/{BmpView80.vcproj => BmpView_2005.vcproj} (98%) create mode 100644 Samples/BmpView/BmpView_2010.sln create mode 100644 Samples/BmpView/BmpView_2010.vcxproj create mode 100644 Samples/BmpView/BmpView_2010.vcxproj.filters delete mode 100644 Samples/BmpView/res/BmpView.exe.manifest delete mode 100644 Samples/BmpView/res/ToolbarCE.bmp delete mode 100644 Samples/BmpView/resourcece.h delete mode 100644 Samples/BmpView/resourceppc.h delete mode 100644 Samples/GuidGen/GuidGen.dsp delete mode 100644 Samples/GuidGen/GuidGen.dsw delete mode 100644 Samples/GuidGen/GuidGen.sln delete mode 100644 Samples/GuidGen/GuidGen.vcproj delete mode 100644 Samples/GuidGen/GuidGenCE.rc delete mode 100644 Samples/GuidGen/GuidGenCE.vcp delete mode 100644 Samples/GuidGen/GuidGenCE.vcw rename Samples/GuidGen/{GuidGen80.sln => GuidGen_2005.sln} (92%) rename Samples/GuidGen/{GuidGen80.vcproj => GuidGen_2005.vcproj} (98%) create mode 100644 Samples/GuidGen/GuidGen_2010.sln create mode 100644 Samples/GuidGen/GuidGen_2010.vcxproj create mode 100644 Samples/GuidGen/GuidGen_2010.vcxproj.filters delete mode 100644 Samples/GuidGen/res/GuidGen.exe.manifest delete mode 100644 Samples/GuidGen/resourcece.h delete mode 100644 Samples/ImageView/ImageView.EVC.rc delete mode 100644 Samples/ImageView/ImageView.VS.rc delete mode 100644 Samples/ImageView/ImageView.VS.rc2 delete mode 100644 Samples/ImageView/ImageView.cpp delete mode 100644 Samples/ImageView/ImageView.sln delete mode 100644 Samples/ImageView/ImageView.vcp delete mode 100644 Samples/ImageView/ImageView.vcproj delete mode 100644 Samples/ImageView/ImageView.vcw delete mode 100644 Samples/ImageView/ImageViewdlg.h delete mode 100644 Samples/ImageView/ImageViewview.h delete mode 100644 Samples/ImageView/mainfrm.h delete mode 100644 Samples/ImageView/res/BmpView.ico delete mode 100644 Samples/ImageView/res/bitmap1.bmp delete mode 100644 Samples/ImageView/res/bitmap2.bmp delete mode 100644 Samples/ImageView/resource.h delete mode 100644 Samples/ImageView/stdafx.cpp delete mode 100644 Samples/ImageView/stdafx.h delete mode 100644 Samples/MDIDocVw/HELLO.ICO delete mode 100644 Samples/MDIDocVw/MDI.ICO delete mode 100644 Samples/MDIDocVw/MDI.dsp delete mode 100644 Samples/MDIDocVw/MDI.dsw delete mode 100644 Samples/MDIDocVw/MDI.sln delete mode 100644 Samples/MDIDocVw/MDI.vcproj rename Samples/MDIDocVw/{MDI80.sln => MDI_2005.sln} (86%) rename Samples/MDIDocVw/{MDI80.vcproj => MDI_2005.vcproj} (97%) create mode 100644 Samples/MDIDocVw/MDI_2010.sln create mode 100644 Samples/MDIDocVw/MDI_2010.vcxproj create mode 100644 Samples/MDIDocVw/MDI_2010.vcxproj.filters delete mode 100644 Samples/MDIDocVw/res/MDI.RC2 delete mode 100644 Samples/MDIDocVw/res/MDI.exe.manifest rename Samples/MDIDocVw/res/{idr_boun.ico => bounce.ico} (100%) delete mode 100644 Samples/MTPad/MTPad.dsp delete mode 100644 Samples/MTPad/MTPad.dsw delete mode 100644 Samples/MTPad/MTPad.sln delete mode 100644 Samples/MTPad/MTPad.vcproj delete mode 100644 Samples/MTPad/MTPadCE.rc delete mode 100644 Samples/MTPad/MTPadCE.vcp delete mode 100644 Samples/MTPad/MTPadCE.vcw rename Samples/MTPad/{MTPad80.sln => MTPad_2005.sln} (93%) rename Samples/MTPad/{MTPad80.vcproj => MTPad_2005.vcproj} (98%) create mode 100644 Samples/MTPad/MTPad_2010.sln create mode 100644 Samples/MTPad/MTPad_2010.vcxproj create mode 100644 Samples/MTPad/MTPad_2010.vcxproj.filters delete mode 100644 Samples/MTPad/res/MTPad.exe.manifest delete mode 100644 Samples/MTPad/res/ToolbarCE.bmp delete mode 100644 Samples/MTPad/resourcece.h rename Samples/MTPad7/{MTPad7.sln => MTPad7_2008.sln} (92%) rename Samples/MTPad7/{MTPad.vcproj => MTPad7_2008.vcproj} (100%) create mode 100644 Samples/MTPad7/MTPad7_2010.sln create mode 100644 Samples/MTPad7/MTPad7_2010.vcxproj create mode 100644 Samples/MTPad7/MTPad7_2010.vcxproj.filters rename Samples/MemDlg/{MemDlg.sln => MemDlg_2005.sln} (94%) rename Samples/MemDlg/{MemDlg.vcproj => MemDlg_2005.vcproj} (100%) create mode 100644 Samples/MemDlg/MemDlg_2010.sln create mode 100644 Samples/MemDlg/MemDlg_2010.vcxproj create mode 100644 Samples/MemDlg/MemDlg_2010.vcxproj.filters delete mode 100644 Samples/MiniPie/MiniPie.cpp delete mode 100644 Samples/MiniPie/MiniPie.rc2 delete mode 100644 Samples/MiniPie/MiniPie.sln delete mode 100644 Samples/MiniPie/MiniPie.vcproj delete mode 100644 Samples/MiniPie/MiniPieFrame.cpp delete mode 100644 Samples/MiniPie/MiniPieFrame.h delete mode 100644 Samples/MiniPie/MiniPieppc.rc delete mode 100644 Samples/MiniPie/MiniPiesp.rc delete mode 100644 Samples/MiniPie/UrlDlg.cpp delete mode 100644 Samples/MiniPie/UrlDlg.h delete mode 100644 Samples/MiniPie/res/MiniPie.ico delete mode 100644 Samples/MiniPie/resourceppc.h delete mode 100644 Samples/MiniPie/resourcesp.h delete mode 100644 Samples/MiniPie/stdafx.cpp delete mode 100644 Samples/MiniPie/stdafx.h delete mode 100644 Samples/SPControls/SPcontrols.cpp delete mode 100644 Samples/SPControls/SPcontrols.rc delete mode 100644 Samples/SPControls/SPcontrols.sln delete mode 100644 Samples/SPControls/SPcontrols.vcp delete mode 100644 Samples/SPControls/SPcontrols.vcproj delete mode 100644 Samples/SPControls/SPcontrols.vcw delete mode 100644 Samples/SPControls/atlcesp.rc delete mode 100644 Samples/SPControls/maindlg.h delete mode 100644 Samples/SPControls/res/SPcontrols.ico delete mode 100644 Samples/SPControls/resource.h delete mode 100644 Samples/SPControls/stdafx.cpp delete mode 100644 Samples/SPControls/stdafx.h delete mode 100644 Samples/TabBrowser/TabBrowser60.dsp delete mode 100644 Samples/TabBrowser/TabBrowser60.dsw delete mode 100644 Samples/TabBrowser/TabBrowser70.sln delete mode 100644 Samples/TabBrowser/TabBrowser70.vcproj delete mode 100644 Samples/TabBrowser/TabBrowser71.sln delete mode 100644 Samples/TabBrowser/TabBrowser71.vcproj delete mode 100644 Samples/TabBrowser/TabBrowser80x.vcproj rename Samples/TabBrowser/{TabBrowser80.sln => TabBrowser_2005.sln} (92%) rename Samples/TabBrowser/{TabBrowser80.vcproj => TabBrowser_2005.vcproj} (99%) rename Samples/TabBrowser/{TabBrowser80x.sln => TabBrowser_2010.sln} (82%) create mode 100644 Samples/TabBrowser/TabBrowser_2010.vcxproj create mode 100644 Samples/TabBrowser/TabBrowser_2010.vcxproj.filters delete mode 100644 Samples/TabBrowser/res/TabBrowser.exe.manifest rename Samples/WTLExplorer/{WTLExplorer80.sln => WTLExplorer_2005.sln} (91%) rename Samples/WTLExplorer/{WTLExplorer80.vcproj => WTLExplorer_2005.vcproj} (98%) create mode 100644 Samples/WTLExplorer/WTLExplorer_2010.sln create mode 100644 Samples/WTLExplorer/WTLExplorer_2010.vcxproj create mode 100644 Samples/WTLExplorer/WTLExplorer_2010.vcxproj.filters delete mode 100644 Samples/WTLExplorer/res/WTLExplorer.exe.manifest rename Samples/WTLExplorer/res/{idt_go1.bmp => go1.bmp} (100%) delete mode 100644 Samples/Wizard97Test/Wizard97Test.dsp delete mode 100644 Samples/Wizard97Test/Wizard97Test.dsw delete mode 100644 Samples/Wizard97Test/Wizard97Test.sln delete mode 100644 Samples/Wizard97Test/Wizard97Test.vcproj rename Samples/Wizard97Test/{Wizard97Test80.sln => Wizard97Test_2005.sln} (63%) rename Samples/Wizard97Test/{Wizard97Test80.vcproj => Wizard97Test_2005.vcproj} (63%) create mode 100644 Samples/Wizard97Test/Wizard97Test_2010.sln create mode 100644 Samples/Wizard97Test/Wizard97Test_2010.vcxproj create mode 100644 Samples/Wizard97Test/Wizard97Test_2010.vcxproj.filters delete mode 100644 Samples/Wizard97Test/res/Wizard97Test.exe.manifest diff --git a/AppWiz/Files/1033/styles.css b/AppWiz/Files/1033/styles.css deleted file mode 100644 index d52624c..0000000 --- a/AppWiz/Files/1033/styles.css +++ /dev/null @@ -1,582 +0,0 @@ -/******************************************************************************/ -/*DEFAULT STYLES FOR ALL SECTIONS**********************************************/ -/******************************************************************************/ -body { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - color: buttontext; - background-color: buttonface; - margin-top: 0px; - margin-left: 0px; - margin-right: 0px; - margin-bottom: 0px; - overflow: visible; } - -a:link { color: captiontext; - text-decoration: none; } - -a:visited { color: captiontext; - text-decoration: none; } - -a:active { color: captiontext; - text-decoration: none; } - -a:hover { color: captiontext; - text-decoration: underline; } - -table { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - color: buttontext; - width: 100%; } - -table.one { table-layout: fixed; - height: 100%; - width: 100%; } - - -/*DEFAULT STYLES FOR THE 'INTRODUCTION' TABLE**********************************/ -/******************************************************************************/ - -table.two { table-layout: fixed; - height: 79px; - width: 100%; - background-color: window; } - -td.image { text-align: right; } - -td.rule { background-color: window; } - -h1.head { font-weight: bold; - font-size: 10pt; - color: windowtext; - margin-top: -3px; } - -p.subhead { color: windowtext; - margin-top: -12px; - margin-left: 10px; } - -img.smallest { background-color: activecaption; - z-index: 1; } - -img.small { z-index: 1; } - -/*DEFAULT STYLES FOR THE 'NAVIGATION' TABLE************************************/ -/******************************************************************************/ - -table.three { table-layout: fixed; - height: 100%; - width: 178px; } - -td.three { background-attachment: fixed; - background-repeat: no-repeat; - background-position: bottom left; - background-color: activecaption; } - -td.dottedline { background: url(Images/DottedHori.gif) repeat; } - -table.linktextselected { font-weight: bold; - width: 157px; - height: 30px; - position: relative; - left: 10px; - z-index: 2; } - -table.linktextselectedindent { font-weight: bold; - width: 148px; - height: 30px; - position: relative; - left: 18px; - z-index: 2; } - -table.linktext { width: 157px; - height: 30px; - position: relative; - left: 10px; - z-index: 2; } - -table.linktextindent { width: 148px; - height: 30px; - position: relative; - left: 18px; - z-index: 2; } - -div.linkselected { background-color: buttonface; - height: 30px; - width: 166px; - position: relative; - left: 0px; - right: 0px; - z-index: 1; } - -div.link { height: 30px; - width: 166px; - position: relative; - left: 0px; - right: 0px; - z-index: 1; } - -div.vertline { background: url(Images/DottedVert.gif) repeat; - height: 125%; - width: 1px; - position: relative; - top: -12px; - left: -1px; } - -span.vertline1 { background: url(Images/DottedVert.gif) repeat; - height: 100%; - width: 1px; - position: absolute; - top: 0px; - left: -1px; - bottom: 0px; - z-index: 2; } - -span.horiline1 { height: 30px; - width: 166px; - position: absolute; - top: -1px; - left: -1px; - bottom: -1px; - z-index: 2; } - -span.activelink { color: captiontext; - text-decoration: none; - cursor: hand; } - -span.activelink2 { color: captiontext; - text-decoration: underline; - cursor: hand; } - -span.inactivelink { color: buttonface; - text-decoration: none; - cursor: default; } - - -/*DEFAULT STYLES FOR THE ALL BUTTONS AND THE 'BUTTONS' TABLE*******************/ -/******************************************************************************/ - -button { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - height: 23px; - cursor: hand; } - -.buttons { width: 75px; } - -/*DEFAULT STYLES FOR THE 'CONTENT' TABLE***************************************/ -/******************************************************************************/ - -table.content { table-layout: fixed; - height: 100%; - width: 422px; } - -table.content1 { table-layout: fixed; - height: 100%; - width: 398px; } - -table.content2 { table-layout: fixed; - height: 100%; - width: 193px; } - -ol { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - color: buttontext; - margin-top: -1px; - margin-bottom: 16px; } - -ul { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - color: buttontext; - margin-top: -1px; - margin-bottom: 16px; } - -li { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - color: buttontext; - position: relative; - left: -15px; - margin-bottom: 1px; } - -span.itemtext { position: relative; - top: -3px; } - -span.itemtextindent { position: relative; - left: 17px; - top: -3px; } - -span.itemtextindentA { position: relative; - left: 25px; - top: -3px; } - -span.itemtextindent1 { position: relative; - left: 8px; - top: -3px; } - -span.sidebtnhidden { width: 100%; - margin-top: 3px; - margin-bottom: 0px; } - -div.itemtextradioB { position: relative; - top: -19px; - left: 25px; - margin-bottom: -25px; } - -div.itemtextradioindentA { position: relative; - top: -17px; - left: 30px; - margin-bottom: -25px; } - -div.itemtextradioindentB { position: relative; - top: -19px; - left: 42px; - margin-bottom: -25px; } - -div.itemtextcheckboxA { position: relative; - top: -17px; - left: 17px; - margin-bottom: -23px; } - -div.itemtextcheckboxB { position: relative; - top: -18px; - left: 25px; - margin-bottom: -25px; } - -div.itemtextcheckboxindentB { position: relative; - top: -16px; - left: 42px; - margin-bottom: -25px; } - -div.inlineA { position: relative; - top: 4px; - width: 100%; - height:1px; - border-top: solid buttonshadow 1px; } - -div.inlineB { position: relative; - top: -9px; - margin-bottom: -20px; - width: 100%; - height:1px; - border-top: solid threedhighlight 1px; } - -input { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - color: buttontext; } - -.radio { position: relative; - top: -2px; - left: 4px; } - -.radioIndentA { margin-top: -2px; - margin-left: 9px; } - -.radioIndent { margin-top: -2px; - margin-left: 17px; } - -.checkboxA { position: relative; - top: -2px; - left: 4px; } - -.checkbox { position: relative; - top: -1px; - margin-left: -4px; - z-index: 2; } - -.checkboxIndent { margin-top: -1px; - margin-left: 21px; } - -.comment { width: 566px; - position: relative; - top: 5px; - left: 8px; - bottom: 6px; } - -.comment2 { width: 391px; - position: relative; - top: 5px; - left: 8px; - bottom: 6px; } - -/****THIS IS THE STANDARD INPUT BOX********************************************/ -input.sidebtn { width: 173px; - position: relative; - top: 5px; - left: 8px; } - -/****THIS IS AN INPUT BOX INDENTED UNDER A CHECKBOX SECTION*******************/ -input.sidebtnIndent { width: 163px; - position: relative; - top: 5px; - left: 18px; - bottom: 6px; } - -/****THIS INPUT BOX HAS IS INDENTED UNDER A HEADING AND RULE SECTION***********/ -input.sidebtnB { width: 164px; - position: relative; - top: 5px; - left: 8px; - bottom: 6px; } - -/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT*******************************/ -input.sidebtn2 { width: 149px; - position: relative; - top: 5px; - left: 8px; - bottom: 6px; } - -/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT AND IT'S UNDER A CHECKBOX*****/ -input.sidebtn2Indent { width: 139px; - position: relative; - top: 5px; - left: 18px; - bottom: 6px; } - -input.sidebtn21 { width: 141px; - position: relative; - top: 5px; - left: 8px; - bottom: 6px; } - -input.sidebtn2Long { width: 253px; - position: relative; - top: 5px; - left: 8px; - bottom: 6px; } - -input.sidebtn2A { width: 140px; - position: relative; - top: 5px; - left: 8px; - bottom: 6px; } - -input.sidebtn2B { width: 156px; - position: relative; - top: 6px; - left: 8px; - bottom: 0px; - margin-bottom: -3px; } - -select { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - color: buttontext; } - -/****THIS IS THE STANDARD SELECTION BOX****************************************/ -select.sidebtn { width: 173px; - position: relative; - top: 6px; - left: 8px; - bottom: 0px; - margin-bottom: -3px; } - -/****THIS IS THE STANDARD SELECTION BOX****************************************/ -span.sidebtn { position: relative; - top: 6px; - left: 8px; - bottom: 0px; - margin-bottom: -3px; } - -/****THIS IS THE STANDARD SELECTION BOX****************************************/ -span.itemtextspecial { position: relative; - top: -20px; - left: 16px; - bottom: 0px; - margin-bottom: -3px; } - -/****THIS IS THE STANDARD SELECTION BOX****************************************/ -span.sidebtnspecial { position: relative; - top: -2px; - left: 54px; - bottom: 0px; - margin-bottom: -3px; } - -/****THIS SELECTION BOX IS INDENTED UNDER A HEADING AND RULE SECTION***********/ -select.sidebtnB { width: 164px; - position: relative; - top: 6px; - left: 8px; - bottom: 0px; - margin-bottom: -3px; } - -/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX****************/ -select.sidebtn2 { width: 164px; - position: relative; - top: 13px; - left: 17px; - bottom: 0px; - margin-bottom: -3px; } - -/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/ -select.sidebtn2A { width: 156px; - position: relative; - top: 13px; - left: 25px; - bottom: 0px; - margin-bottom: -3px; } - -/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/ -select.sidebtn2ALong { width: 277px; - position: relative; - top: 6px; - left: 25px; - bottom: 0px; - margin-bottom: -3px; } - -select.sidebtn2B { width: 156px; - position: relative; - top: 6px; - left: 8px; - bottom: 0px; - margin-bottom: -3px; } - -/****THIS SELECTION BOX HAS "..." BUTTONS BESIDE THEM**************************/ -select.sidebtn2C { width: 149px; - position: relative; - top: 5px; - left: 8px; - bottom: 6px; } - -select.sidebtn2CLong { width: 253px; - position: relative; - top: 5px; - left: 8px; - bottom: 6px; } - -select.sidebtn3 { width: 150px; - position: relative; - top: 6px; - bottom: 0px; - margin-bottom: -3px; } - -/****THIS SELECTION BOX IS FOR HORIZONTAL ADD/REMOVE SECTIONS******************/ -select.sidebtn4Long { width: 574px; - position: relative; - top: 6px; - left: 8px; - bottom: 0px; - margin-bottom: -3px; } - -object.itemtext { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - color: buttontext; - width: 173px; - height: 19px; - position: relative; - top: 6px; - left: 8px; - margin-bottom: 2px; } - -.dropdowncombo { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - color: buttontext; } - -/****THIS DEFINES A STANDARD BUTTON IN THE CONTENT SECTION*********************/ -.buttonclass { margin-top: 2px; - margin-left: 8px; - margin-bottom: -6px; - padding: 2px; } - -/****THIS DEFINES ADD/REMOVE BUTTONS IN THE CONTENT SECTION********************/ -.buttonclass2 { margin-top: 8px; - margin-left: 8px; - z-index: 1; - cursor: hand; } - -/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION************************/ -.buttonclass3 { height: 19px; - width: 20px; - position: relative; - top: 2px; } - -/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION AND UNDER A CHECKBOX***/ -.buttonclass3Indent { height: 19px; - width: 20px; - position: relative; - top: 2px; - left: 10px; } - -.buttonclass31 { height: 19px; - width: 20px; - position: relative; - top: 2px; - left:8px; } - -.buttonclass3A { height: 19px; - width: 20px; - position: relative; - top: 5px; } - -/****THIS DEFINES A ">>" BUTTON IN THE CONTENT SECTION************************/ -.buttonclass4 { margin-bottom: 4px; - width: 75px; - height: 23px; } - -/****THIS DEFINES ADD/REMOVE BUTTONS HORIZONTALLY IN THE CONTENT SECTION******/ -.buttonclass5 { margin-left: 4px; } - -/****THIS DEFINES FIRST ADD/REMOVE BUTTONS HORIZONTALLY IN CONTENT SECTION****/ -.buttonclass5A { margin-left: 8px; } - -/****THIS SETS THE LEFT MARGIN FOR THE REMOVE BUTTON***************************/ -#removebtn { margin-left: 4px; } - - - -/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/ -label.indent { margin-left: 18px; } - -/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/ -label.indent2 { margin-left: 26px; } - - -/****THESE ARE CUSTOM SPACING ELEMENTS*****************************************/ -p.spacer { margin-bottom: -28px; } - -p.elementspacer { margin-bottom: -12px; } - -p.elementspacer2 { margin-bottom: -19px; } - -p.elementspacer3 { margin-bottom: -3px; } - -p.elementspacer4 { margin-bottom: 7px; } - -p.elementspacer5 { margin-bottom: 5px; } - -p.elementspacer6 { margin-bottom: -24px; } - -p.elementspacer7 { margin-bottom: -11px; } - -p.elementspacer8 { margin-bottom: -14px; } - -p.elementspacer9 { margin-bottom: -7px; } - -p.elementspacer10 { margin-bottom: 6px; } - -p.elementspacer11 { margin-bottom: 22px; } - -p.elementspacer12 { margin-bottom: -17px; } - -p.elementspacer13 { margin-bottom: -23px; } - -p.elementspacer14 { margin-bottom: -25px; } - - -/*CUSTOM STYLES FOR THE 'CONTENT' FRAME****************************************/ -/******************************************************************************/ - - - /*MFCAppWiz - Generated Classes.htm****************************************/ - /**************************************************************************/ - #CLASS_NAMES { width: 391px; } - - #PARAMETER_LIST_SPAN { position: relative; - top: 46px; } - - #PARAMETER_LIST { margin-top: -1px; } \ No newline at end of file diff --git a/AppWiz/Files/Images/WTLApp70.gif b/AppWiz/Files/Images/WTLApp70.gif deleted file mode 100644 index b816a5825ac49b891b9d9a50cf425dcfc8069c56..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 486 zcmVBNk%w1VLt#r0FeLy|NsBMz`y_i00000A^8LW00031EC2ui06zdf00092 zjEtwr>kXfbblQrq&U||ugyKk+=82|I$9~_c#_~))?d?)99RmIj3<7vH1}-2>26Kzu zObPuFL$+M>3Sd%=)9$p&!d`FA*wA~Xfj>j-q0K6*(mfwZI-<+g9QfP5AQebvL!*Z$ zg4jdEx8a8bh#)9Q$n|t*hg5gSXk^78m<9RxxFMHvXeXtp$c`3jbJ1#n+NAuH^qEB5f#L2rY!tUD4X}Nq9eC+5n1JYc~V$RdJkwy3O2K$rETXj z{cMQ}D6ertMHSUl6P8k2$(riCc+cg;sU{uByejTOMu%UW>Vk^mV^FLO&W=kn*g cL(`_+p?*DZHEV;ZYs0>6J2&p#8wvmbJ7bmL!~g&Q diff --git a/AppWiz/Files/Images/WTLApp70_Background.gif b/AppWiz/Files/Images/WTLApp70_Background.gif deleted file mode 100644 index 02ccafbc5b6524394d80453b0844dce4823b96a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1241 zcmV;~1Sb1ONk%w1VX*)~0e}Diz`(!&001HR1OWg5001li0002706_r&0{?`MsmtvT zqnxzbi?iOm`wxcVNS5Y_rs~SJ?hD8AOxIEX;CjyQeh>T!gT$e+h_oq}%qHRpMMkI6 zD%FY2YE{&(_3I7uw&b!|BTj?Y>f`whkGI+MxjK%|XYKVqKdKifNb~1sSm-vWxJZI{ z_~?kkI7!J735m&9xyd*sZv^g#9V@3OMcKCyX02oa{JqT+9a6S|-Z*vgXcXJ%7#`dLmv?2~3}^ zfz?LCj;>!DOC54FYs!0VXEt0`H|@&4rQ$}pdU)^Rs{IB}c8a-Z;9#9;lAfFTS?iCm zXP0ys)8b3skvp&ctaY;THjlS=H2xL)p6=BQn$Abr;qap^7WI zP$G0Vtxt!^Ynv!t`r-KQ`d8M0kqKT)8chXtkjC}qHOMrkXX=kB^ z9*St9ioOP6j)Ue2DWZ)+`Y4%)PFg9YkuI8IkA#}pC#Q}skft)FCK_dzp^BR7KBr1r zC3y6_dTFd#uF7evv*Nm_uIAVjZH^by+Pk+5MXRhS*`MeFN2JbDg%=>w>*(%>u*CaiA`v z4YS=x1D&+q{PO)K-rfRkv)~c44H@HmJ1#TfVX!NGFXcExeh=nuB95-&?Luv_&)jkj zGU+6n{x9ln8U8Nl+PXd+-GQ@?v8D#Hta{O_OJ26_2J_zgoxcApJngdsAG_vLXIf|L z%%3ZJ)X5Lu^z`6XU;6dRTMs++&S&kt=#OikE%(K^&87Opu#cttzQ8}F{Jqfsr2V|$ zzoh=V@NXpl=>mX465yIVCml?c4|?mV)qVD~zz9BYX%ie3122fZ;%RV$9PA(p3IG5* Dgrj$S diff --git a/AppWiz/Files/Templates/1033/AboutDlg.h b/AppWiz/Files/Templates/1033/AboutDlg.h deleted file mode 100644 index cca6b55..0000000 --- a/AppWiz/Files/Templates/1033/AboutDlg.h +++ /dev/null @@ -1,42 +0,0 @@ -// aboutdlg.h : interface of the CAboutDlg class -// -///////////////////////////////////////////////////////////////////////////// - -#pragma once - -class CAboutDlg : public CDialogImpl -{ -public: - enum { IDD = IDD_ABOUTBOX }; - - BEGIN_MSG_MAP(CAboutDlg) - MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog) - COMMAND_ID_HANDLER(IDOK, OnCloseCmd) - COMMAND_ID_HANDLER(IDCANCEL, OnCloseCmd) - END_MSG_MAP() - -// Handler prototypes (uncomment arguments if needed): -// LRESULT MessageHandler(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) -// LRESULT CommandHandler(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -// LRESULT NotifyHandler(int /*idCtrl*/, LPNMHDR /*pnmh*/, BOOL& /*bHandled*/) - -[!if WTL_USE_CPP_FILES] - LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/); -[!else] - LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) - { - CenterWindow(GetParent()); - return TRUE; - } - -[!endif] -[!if WTL_USE_CPP_FILES] - LRESULT OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - LRESULT OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { - EndDialog(wID); - return 0; - } -[!endif] -}; diff --git a/AppWiz/Files/Templates/1033/ChildFrm.cpp b/AppWiz/Files/Templates/1033/ChildFrm.cpp deleted file mode 100644 index 53adec1..0000000 --- a/AppWiz/Files/Templates/1033/ChildFrm.cpp +++ /dev/null @@ -1,57 +0,0 @@ -// [!output WTL_CHILD_FRAME_FILE].cpp : implementation of the [!output WTL_CHILD_FRAME_CLASS] class -// -///////////////////////////////////////////////////////////////////////////// - -#include "stdafx.h" -#include "resource.h" - -[!if WTL_USE_VIEW] -#include "[!output WTL_VIEW_FILE].h" -[!endif] -#include "[!output WTL_CHILD_FRAME_FILE].h" - -void [!output WTL_CHILD_FRAME_CLASS]::OnFinalMessage(HWND /*hWnd*/) -{ - delete this; -} - -[!if WTL_USE_VIEW] -LRESULT [!output WTL_CHILD_FRAME_CLASS]::OnCreate(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled) -{ -[!if WTL_VIEWTYPE_FORM] - m_hWndClient = m_view.Create(m_hWnd); -[!else] -[!if WTL_VIEWTYPE_HTML] - //TODO: Replace with a URL of your choice - m_hWndClient = m_view.Create(m_hWnd, rcDefault, _T("http://www.microsoft.com"), [!output WTL_VIEW_STYLES], [!output WTL_VIEW_EX_STYLES]); -[!else] - m_hWndClient = m_view.Create(m_hWnd, rcDefault, NULL, [!output WTL_VIEW_STYLES], [!output WTL_VIEW_EX_STYLES]); -[!if WTL_VIEWTYPE_LISTBOX || WTL_VIEWTYPE_EDIT || WTL_VIEWTYPE_RICHEDIT] - m_font = AtlCreateControlFont(); - m_view.SetFont(m_font); -[!endif] -[!if WTL_VIEWTYPE_SCROLL] - // replace with appropriate values for the app - m_view.SetScrollSize(2000, 1000); -[!endif] -[!endif] -[!endif] - - bHandled = FALSE; - return 1; -} - -[!endif] -LRESULT [!output WTL_CHILD_FRAME_CLASS]::OnForwardMsg(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM lParam, BOOL& /*bHandled*/) -{ - LPMSG pMsg = (LPMSG)lParam; - -[!if WTL_USE_VIEW] - if([!output WTL_CHILD_FRAME_BASE_CLASS]<[!output WTL_CHILD_FRAME_CLASS]>::PreTranslateMessage(pMsg)) - return TRUE; - - return m_view.PreTranslateMessage(pMsg); -[!else] - return [!output WTL_CHILD_FRAME_BASE_CLASS]<[!output WTL_CHILD_FRAME_CLASS]>::PreTranslateMessage(pMsg); -[!endif] -} diff --git a/AppWiz/Files/Templates/1033/ChildFrm.h b/AppWiz/Files/Templates/1033/ChildFrm.h deleted file mode 100644 index 6e5dede..0000000 --- a/AppWiz/Files/Templates/1033/ChildFrm.h +++ /dev/null @@ -1,90 +0,0 @@ -// [!output WTL_CHILD_FRAME_FILE].h : interface of the [!output WTL_CHILD_FRAME_CLASS] class -// -///////////////////////////////////////////////////////////////////////////// - -#pragma once - -class [!output WTL_CHILD_FRAME_CLASS] : public [!output WTL_CHILD_FRAME_BASE_CLASS]<[!output WTL_CHILD_FRAME_CLASS]> -{ -public: - DECLARE_FRAME_WND_CLASS(NULL, IDR_MDICHILD) - -[!if WTL_USE_VIEW] - [!output WTL_VIEW_CLASS] m_view; - -[!endif] -[!if WTL_VIEWTYPE_LISTBOX || WTL_VIEWTYPE_EDIT || WTL_VIEWTYPE_RICHEDIT] - CFont m_font; - -[!endif] -[!if WTL_USE_CPP_FILES] - virtual void OnFinalMessage(HWND /*hWnd*/); -[!else] - virtual void OnFinalMessage(HWND /*hWnd*/) - { - delete this; - } -[!endif] - - BEGIN_MSG_MAP([!output WTL_CHILD_FRAME_CLASS]) -[!if WTL_USE_VIEW] - MESSAGE_HANDLER(WM_CREATE, OnCreate) -[!endif] - MESSAGE_HANDLER(WM_FORWARDMSG, OnForwardMsg) - CHAIN_MSG_MAP([!output WTL_CHILD_FRAME_BASE_CLASS]<[!output WTL_CHILD_FRAME_CLASS]>) - END_MSG_MAP() - -// Handler prototypes (uncomment arguments if needed): -// LRESULT MessageHandler(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) -// LRESULT CommandHandler(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -// LRESULT NotifyHandler(int /*idCtrl*/, LPNMHDR /*pnmh*/, BOOL& /*bHandled*/) - -[!if WTL_USE_VIEW] -[!if WTL_USE_CPP_FILES] - LRESULT OnCreate(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled); -[!else] - LRESULT OnCreate(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled) - { -[!if WTL_VIEWTYPE_FORM] - m_hWndClient = m_view.Create(m_hWnd); -[!else] -[!if WTL_VIEWTYPE_HTML] - //TODO: Replace with a URL of your choice - m_hWndClient = m_view.Create(m_hWnd, rcDefault, _T("http://www.microsoft.com"), [!output WTL_VIEW_STYLES], [!output WTL_VIEW_EX_STYLES]); -[!else] - m_hWndClient = m_view.Create(m_hWnd, rcDefault, NULL, [!output WTL_VIEW_STYLES], [!output WTL_VIEW_EX_STYLES]); -[!if WTL_VIEWTYPE_LISTBOX || WTL_VIEWTYPE_EDIT || WTL_VIEWTYPE_RICHEDIT] - m_font = AtlCreateControlFont(); - m_view.SetFont(m_font); -[!endif] -[!if WTL_VIEWTYPE_SCROLL] - // replace with appropriate values for the app - m_view.SetScrollSize(2000, 1000); -[!endif] -[!endif] -[!endif] - - bHandled = FALSE; - return 1; - } - -[!endif] -[!endif] -[!if WTL_USE_CPP_FILES] - LRESULT OnForwardMsg(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM lParam, BOOL& /*bHandled*/); -[!else] - LRESULT OnForwardMsg(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM lParam, BOOL& /*bHandled*/) - { - LPMSG pMsg = (LPMSG)lParam; - -[!if WTL_USE_VIEW] - if([!output WTL_CHILD_FRAME_BASE_CLASS]<[!output WTL_CHILD_FRAME_CLASS]>::PreTranslateMessage(pMsg)) - return TRUE; - - return m_view.PreTranslateMessage(pMsg); -[!else] - return [!output WTL_CHILD_FRAME_BASE_CLASS]<[!output WTL_CHILD_FRAME_CLASS]>::PreTranslateMessage(pMsg); -[!endif] - } -[!endif] -}; diff --git a/AppWiz/Files/Templates/1033/Frame.h b/AppWiz/Files/Templates/1033/Frame.h deleted file mode 100644 index d7f543d..0000000 --- a/AppWiz/Files/Templates/1033/Frame.h +++ /dev/null @@ -1,615 +0,0 @@ -// [!output WTL_FRAME_FILE].h : interface of the [!output WTL_FRAME_CLASS] class -// -///////////////////////////////////////////////////////////////////////////// - -#pragma once - -[!if WTL_APPTYPE_TABVIEW] -#define WINDOW_MENU_POSITION 3 - -[!endif] -class [!output WTL_FRAME_CLASS] : - public [!output WTL_FRAME_BASE_CLASS]<[!output WTL_FRAME_CLASS]>, -[!if !WTL_USE_RIBBON] - public CUpdateUI<[!output WTL_FRAME_CLASS]>, -[!endif] - public CMessageFilter, public CIdleHandler -{ -public: - DECLARE_FRAME_WND_CLASS(NULL, IDR_MAINFRAME) - -[!if WTL_APPTYPE_TABVIEW] - CTabView m_view; -[!endif] -[!if WTL_APPTYPE_EXPLORER] - CSplitterWindow m_splitter; - CPaneContainer m_pane; - CTreeViewCtrl m_treeview; - [!output WTL_VIEW_CLASS] m_view; -[!endif] -[!if WTL_APPTYPE_SDI || WTL_APPTYPE_MTSDI] -[!if WTL_USE_VIEW] - [!output WTL_VIEW_CLASS] m_view; -[!endif] -[!endif] -[!if WTL_USE_CMDBAR || WTL_USE_RIBBON] -[!if WTL_APPTYPE_MDI] - CMDICommandBarCtrl m_CmdBar; -[!else] - CCommandBarCtrl m_CmdBar; -[!endif] -[!endif] -[!if WTL_VIEWTYPE_LISTBOX || WTL_VIEWTYPE_EDIT || WTL_VIEWTYPE_RICHEDIT] -[!if !WTL_APPTYPE_MDI] - CFont m_font; -[!endif] -[!endif] -[!if WTL_USE_RIBBON] - - //TODO: Declare ribbon controls - - // Ribbon control map - BEGIN_RIBBON_CONTROL_MAP(CMainFrame) - END_RIBBON_CONTROL_MAP() -[!endif] - -[!if WTL_USE_CPP_FILES] - virtual BOOL PreTranslateMessage(MSG* pMsg); -[!else] - virtual BOOL PreTranslateMessage(MSG* pMsg) - { -[!if WTL_APPTYPE_MDI] - if([!output WTL_FRAME_BASE_CLASS]<[!output WTL_FRAME_CLASS]>::PreTranslateMessage(pMsg)) - return TRUE; - - HWND hWnd = MDIGetActive(); - if(hWnd != NULL) - return (BOOL)::SendMessage(hWnd, WM_FORWARDMSG, 0, (LPARAM)pMsg); - - return FALSE; -[!else] -[!if WTL_USE_VIEW] - if([!output WTL_FRAME_BASE_CLASS]<[!output WTL_FRAME_CLASS]>::PreTranslateMessage(pMsg)) - return TRUE; - - return m_view.PreTranslateMessage(pMsg); -[!else] - return [!output WTL_FRAME_BASE_CLASS]<[!output WTL_FRAME_CLASS]>::PreTranslateMessage(pMsg); -[!endif] -[!endif] - } - -[!endif] -[!if WTL_USE_CPP_FILES] - virtual BOOL OnIdle(); -[!else] - virtual BOOL OnIdle() - { -[!if WTL_USE_TOOLBAR] - UIUpdateToolBar(); -[!endif] - return FALSE; - } -[!endif] - -[!if !WTL_RIBBON_SINGLE_UI] - BEGIN_UPDATE_UI_MAP([!output WTL_FRAME_CLASS]) -[!if WTL_USE_TOOLBAR] - UPDATE_ELEMENT(ID_VIEW_TOOLBAR, UPDUI_MENUPOPUP) -[!endif] -[!if WTL_USE_STATUSBAR] - UPDATE_ELEMENT(ID_VIEW_STATUS_BAR, UPDUI_MENUPOPUP) -[!endif] -[!if WTL_APPTYPE_EXPLORER] - UPDATE_ELEMENT(ID_VIEW_TREEPANE, UPDUI_MENUPOPUP) -[!endif] - END_UPDATE_UI_MAP() -[!endif] - - BEGIN_MSG_MAP([!output WTL_FRAME_CLASS]) - MESSAGE_HANDLER(WM_CREATE, OnCreate) - MESSAGE_HANDLER(WM_DESTROY, OnDestroy) - COMMAND_ID_HANDLER(ID_APP_EXIT, OnFileExit) - COMMAND_ID_HANDLER(ID_FILE_NEW, OnFileNew) -[!if WTL_APPTYPE_MTSDI] - COMMAND_ID_HANDLER(ID_FILE_NEW_WINDOW, OnFileNewWindow) -[!endif] -[!if WTL_USE_TOOLBAR] - COMMAND_ID_HANDLER(ID_VIEW_TOOLBAR, OnViewToolBar) -[!endif] -[!if WTL_USE_STATUSBAR] - COMMAND_ID_HANDLER(ID_VIEW_STATUS_BAR, OnViewStatusBar) -[!endif] -[!if WTL_RIBBON_DUAL_UI] - COMMAND_ID_HANDLER(ID_VIEW_RIBBON, OnViewRibbon) -[!endif] - COMMAND_ID_HANDLER(ID_APP_ABOUT, OnAppAbout) -[!if WTL_APPTYPE_MDI] - COMMAND_ID_HANDLER(ID_WINDOW_CASCADE, OnWindowCascade) - COMMAND_ID_HANDLER(ID_WINDOW_TILE_HORZ, OnWindowTile) - COMMAND_ID_HANDLER(ID_WINDOW_ARRANGE, OnWindowArrangeIcons) -[!endif] -[!if WTL_APPTYPE_TABVIEW] - COMMAND_ID_HANDLER(ID_WINDOW_CLOSE, OnWindowClose) - COMMAND_ID_HANDLER(ID_WINDOW_CLOSE_ALL, OnWindowCloseAll) - COMMAND_RANGE_HANDLER(ID_WINDOW_TABFIRST, ID_WINDOW_TABLAST, OnWindowActivate) -[!endif] -[!if WTL_APPTYPE_EXPLORER] - COMMAND_ID_HANDLER(ID_VIEW_TREEPANE, OnViewTreePane) - COMMAND_ID_HANDLER(ID_PANE_CLOSE, OnTreePaneClose) -[!endif] -[!if !WTL_USE_RIBBON] - CHAIN_MSG_MAP(CUpdateUI<[!output WTL_FRAME_CLASS]>) -[!endif] - CHAIN_MSG_MAP([!output WTL_FRAME_BASE_CLASS]<[!output WTL_FRAME_CLASS]>) - END_MSG_MAP() - -// Handler prototypes (uncomment arguments if needed): -// LRESULT MessageHandler(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) -// LRESULT CommandHandler(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -// LRESULT NotifyHandler(int /*idCtrl*/, LPNMHDR /*pnmh*/, BOOL& /*bHandled*/) - -[!if WTL_USE_CPP_FILES] - LRESULT OnCreate(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/); -[!else] - LRESULT OnCreate(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) - { -[!if WTL_RIBBON_DUAL_UI] - bool bRibbonUI = RunTimeHelper::IsRibbonUIAvailable(); - if (bRibbonUI) - UIAddMenu(GetMenu(), true); - else - CMenuHandle(GetMenu()).DeleteMenu(ID_VIEW_RIBBON, MF_BYCOMMAND); - -[!else] -[!if WTL_RIBBON_SINGLE_UI] - UIAddMenu(GetMenu(), true); -[!endif] -[!endif] -[!if WTL_USE_RIBBON && !WTL_USE_CMDBAR] - m_CmdBar.Create(m_hWnd, rcDefault, NULL, WS_CHILD); - m_CmdBar.AttachMenu(GetMenu()); - m_CmdBar.LoadImages(IDR_MAINFRAME); - -[!endif] -[!if WTL_USE_TOOLBAR] -[!if WTL_USE_REBAR] -[!if WTL_USE_CMDBAR] - // create command bar window - HWND hWndCmdBar = m_CmdBar.Create(m_hWnd, rcDefault, NULL, ATL_SIMPLE_CMDBAR_PANE_STYLE); - // attach menu - m_CmdBar.AttachMenu(GetMenu()); - // load command bar images - m_CmdBar.LoadImages(IDR_MAINFRAME); - // remove old menu - SetMenu(NULL); - -[!endif] - HWND hWndToolBar = CreateSimpleToolBarCtrl(m_hWnd, IDR_MAINFRAME, FALSE, ATL_SIMPLE_TOOLBAR_PANE_STYLE); - - CreateSimpleReBar(ATL_SIMPLE_REBAR_NOBORDER_STYLE); -[!if WTL_USE_CMDBAR] - AddSimpleReBarBand(hWndCmdBar); - AddSimpleReBarBand(hWndToolBar, NULL, TRUE); -[!else] - AddSimpleReBarBand(hWndToolBar); -[!endif] -[!else] - CreateSimpleToolBar(); -[!endif] -[!endif] -[!if WTL_USE_STATUSBAR] - - CreateSimpleStatusBar(); -[!endif] -[!if WTL_APPTYPE_MDI] - - CreateMDIClient(); -[!if WTL_USE_CMDBAR] - m_CmdBar.SetMDIClient(m_hWndMDIClient); -[!endif] -[!endif] -[!if WTL_APPTYPE_SDI || WTL_APPTYPE_MTSDI] -[!if WTL_USE_VIEW] -[!if WTL_VIEWTYPE_FORM] - - m_hWndClient = m_view.Create(m_hWnd); -[!else] -[!if WTL_VIEWTYPE_HTML] - - //TODO: Replace with a URL of your choice - m_hWndClient = m_view.Create(m_hWnd, rcDefault, _T("http://www.microsoft.com"), [!output WTL_VIEW_STYLES], [!output WTL_VIEW_EX_STYLES]); -[!else] - - m_hWndClient = m_view.Create(m_hWnd, rcDefault, NULL, [!output WTL_VIEW_STYLES], [!output WTL_VIEW_EX_STYLES]); -[!endif] -[!if WTL_VIEWTYPE_LISTBOX || WTL_VIEWTYPE_EDIT || WTL_VIEWTYPE_RICHEDIT] - m_font = AtlCreateControlFont(); - m_view.SetFont(m_font); -[!endif] -[!if WTL_VIEWTYPE_SCROLL] - // replace with appropriate values for the app - m_view.SetScrollSize(2000, 1000); -[!endif] -[!endif] -[!endif] -[!endif] -[!if WTL_APPTYPE_TABVIEW] - - m_hWndClient = m_view.Create(m_hWnd, rcDefault, NULL, WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, WS_EX_CLIENTEDGE); -[!if WTL_VIEWTYPE_LISTBOX || WTL_VIEWTYPE_EDIT || WTL_VIEWTYPE_RICHEDIT] - - m_font = AtlCreateControlFont(); -[!endif] -[!endif] -[!if WTL_APPTYPE_EXPLORER] - - m_hWndClient = m_splitter.Create(m_hWnd, rcDefault, NULL, WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN); - - m_pane.SetPaneContainerExtendedStyle(PANECNT_NOBORDER); - m_pane.Create(m_splitter, _T("Tree"), WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN); - m_treeview.Create(m_pane, rcDefault, NULL, WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | TVS_HASLINES | TVS_LINESATROOT | TVS_HASBUTTONS | TVS_SHOWSELALWAYS, WS_EX_CLIENTEDGE); - m_pane.SetClient(m_treeview); -[!if WTL_VIEWTYPE_FORM] - - m_view.Create(m_splitter); -[!else] -[!if WTL_VIEWTYPE_HTML] - - //TODO: Replace with a URL of your choice - m_view.Create(m_splitter, rcDefault, _T("http://www.microsoft.com"), [!output WTL_VIEW_STYLES], [!output WTL_VIEW_EX_STYLES]); -[!else] - - m_view.Create(m_splitter, rcDefault, NULL, [!output WTL_VIEW_STYLES], [!output WTL_VIEW_EX_STYLES]); -[!endif] -[!if WTL_VIEWTYPE_LISTBOX || WTL_VIEWTYPE_EDIT || WTL_VIEWTYPE_RICHEDIT] - m_font = AtlCreateControlFont(); - m_view.SetFont(m_font); -[!endif] -[!if WTL_VIEWTYPE_SCROLL] - // replace with appropriate values for the app - m_view.SetScrollSize(2000, 1000); -[!endif] -[!endif] - - m_splitter.SetSplitterPanes(m_pane, m_view); - UpdateLayout(); - m_splitter.SetSplitterPosPct(25); -[!endif] -[!if WTL_USE_TOOLBAR] -[!if WTL_USE_REBAR] - - UIAddToolBar(hWndToolBar); -[!else] - - UIAddToolBar(m_hWndToolBar); -[!endif] - UISetCheck(ID_VIEW_TOOLBAR, 1); -[!endif] -[!if WTL_USE_STATUSBAR] - UISetCheck(ID_VIEW_STATUS_BAR, 1); -[!endif] -[!if WTL_APPTYPE_EXPLORER] - UISetCheck(ID_VIEW_TREEPANE, 1); -[!endif] - - // register object for message filtering and idle updates - CMessageLoop* pLoop = _Module.GetMessageLoop(); - ATLASSERT(pLoop != NULL); - pLoop->AddMessageFilter(this); - pLoop->AddIdleHandler(this); - -[!if WTL_USE_RIBBON] -[!if WTL_RIBBON_SINGLE_UI] - ShowRibbonUI(true); - -[!else] - ShowRibbonUI(bRibbonUI); - UISetCheck(ID_VIEW_RIBBON, bRibbonUI); - -[!endif] -[!endif] -[!if WTL_APPTYPE_TABVIEW] -[!if WTL_USE_CMDBAR] - CMenuHandle menuMain = m_CmdBar.GetMenu(); -[!else] - CMenuHandle menuMain = GetMenu(); -[!endif] - m_view.SetWindowMenu(menuMain.GetSubMenu(WINDOW_MENU_POSITION)); - -[!endif] - return 0; - } -[!endif] -[!if WTL_COM_SERVER] -[!if WTL_USE_CPP_FILES] - LRESULT OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/); -[!else] - - LRESULT OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) - { -[!if WTL_APPTYPE_MDI] -[!if WTL_USE_CMDBAR] - m_CmdBar.AttachMenu(NULL); - -[!endif] -[!endif] - // unregister message filtering and idle updates - CMessageLoop* pLoop = _Module.GetMessageLoop(); - ATLASSERT(pLoop != NULL); - pLoop->RemoveMessageFilter(this); - pLoop->RemoveIdleHandler(this); - - // if UI is the last thread, no need to wait - if(_Module.GetLockCount() == 1) - { - _Module.m_dwTimeOut = 0L; - _Module.m_dwPause = 0L; - } - _Module.Unlock(); - -[!if WTL_APPTYPE_MTSDI] - ::PostQuitMessage(1); - -[!endif] - return 0; - } -[!endif] -[!else] -[!if WTL_USE_CPP_FILES] - LRESULT OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled); -[!else] - - LRESULT OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled) - { -[!if WTL_APPTYPE_MDI] -[!if WTL_USE_CMDBAR] - m_CmdBar.AttachMenu(NULL); - -[!endif] -[!endif] - // unregister message filtering and idle updates - CMessageLoop* pLoop = _Module.GetMessageLoop(); - ATLASSERT(pLoop != NULL); - pLoop->RemoveMessageFilter(this); - pLoop->RemoveIdleHandler(this); - - bHandled = FALSE; - return 1; - } -[!endif] -[!endif] -[!if WTL_USE_CPP_FILES] - LRESULT OnFileExit(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - - LRESULT OnFileExit(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { - PostMessage(WM_CLOSE); - return 0; - } -[!endif] -[!if WTL_USE_CPP_FILES] - LRESULT OnFileNew(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - - LRESULT OnFileNew(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { -[!if WTL_APPTYPE_TABVIEW] - [!output WTL_VIEW_CLASS]* pView = new [!output WTL_VIEW_CLASS]; -[!if WTL_VIEWTYPE_FORM] - pView->Create(m_view); -[!else] -[!if WTL_VIEWTYPE_HTML] - //TODO: Replace with a URL of your choice - pView->Create(m_view, rcDefault, _T("http://www.microsoft.com"), [!output WTL_VIEW_STYLES], [!output WTL_VIEW_EX_STYLES]); -[!else] - pView->Create(m_view, rcDefault, NULL, [!output WTL_VIEW_STYLES], [!output WTL_VIEW_EX_STYLES]); -[!endif] -[!if WTL_VIEWTYPE_LISTBOX || WTL_VIEWTYPE_EDIT || WTL_VIEWTYPE_RICHEDIT] - pView->SetFont(m_font); -[!endif] -[!if WTL_VIEWTYPE_SCROLL] - // replace with appropriate values for the app - pView->SetScrollSize(2000, 1000); -[!endif] -[!endif] - m_view.AddPage(pView->m_hWnd, _T("Document")); - -[!endif] -[!if WTL_APPTYPE_MDI] - [!output WTL_CHILD_FRAME_CLASS]* pChild = new [!output WTL_CHILD_FRAME_CLASS]; - pChild->CreateEx(m_hWndClient); - -[!endif] - // TODO: add code to initialize document - - return 0; - } -[!endif] -[!if WTL_APPTYPE_MTSDI] -[!if WTL_USE_CPP_FILES] - LRESULT OnFileNewWindow(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - - LRESULT OnFileNewWindow(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { - ::PostThreadMessage(_Module.m_dwMainThreadID, WM_USER, 0, 0L); - return 0; - } -[!endif] -[!endif] -[!if WTL_USE_TOOLBAR] -[!if WTL_USE_CPP_FILES] - LRESULT OnViewToolBar(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - - LRESULT OnViewToolBar(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { -[!if WTL_USE_REBAR] - static BOOL bVisible = TRUE; // initially visible - bVisible = !bVisible; - CReBarCtrl rebar = m_hWndToolBar; -[!if WTL_USE_CMDBAR] - int nBandIndex = rebar.IdToIndex(ATL_IDW_BAND_FIRST + 1); // toolbar is 2nd added band -[!else] - int nBandIndex = rebar.IdToIndex(ATL_IDW_BAND_FIRST); // toolbar is first 1st band -[!endif] - rebar.ShowBand(nBandIndex, bVisible); -[!else] - BOOL bVisible = !::IsWindowVisible(m_hWndToolBar); - ::ShowWindow(m_hWndToolBar, bVisible ? SW_SHOWNOACTIVATE : SW_HIDE); -[!endif] - UISetCheck(ID_VIEW_TOOLBAR, bVisible); - UpdateLayout(); - return 0; - } -[!endif] -[!endif] -[!if WTL_USE_STATUSBAR] -[!if WTL_USE_CPP_FILES] - LRESULT OnViewStatusBar(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - - LRESULT OnViewStatusBar(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { - BOOL bVisible = !::IsWindowVisible(m_hWndStatusBar); - ::ShowWindow(m_hWndStatusBar, bVisible ? SW_SHOWNOACTIVATE : SW_HIDE); - UISetCheck(ID_VIEW_STATUS_BAR, bVisible); - UpdateLayout(); - return 0; - } -[!endif] -[!endif] -[!if WTL_RIBBON_DUAL_UI] -[!if WTL_USE_CPP_FILES] - LRESULT OnViewRibbon(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - - LRESULT OnViewRibbon(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { - ShowRibbonUI(!IsRibbonUI()); - UISetCheck(ID_VIEW_RIBBON, IsRibbonUI()); -[!if !WTL_USE_CMDBAR] - if (!IsRibbonUI()) - SetMenu(AtlLoadMenu(IDR_MAINFRAME)); -[!endif] - return 0; - } -[!endif] -[!endif] -[!if WTL_USE_CPP_FILES] - LRESULT OnAppAbout(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - - LRESULT OnAppAbout(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { - CAboutDlg dlg; - dlg.DoModal(); - return 0; - } -[!endif] -[!if WTL_APPTYPE_MDI] -[!if WTL_USE_CPP_FILES] - LRESULT OnWindowCascade(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - - LRESULT OnWindowCascade(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { - MDICascade(); - return 0; - } -[!endif] -[!if WTL_USE_CPP_FILES] - LRESULT OnWindowTile(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - - LRESULT OnWindowTile(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { - MDITile(); - return 0; - } - -[!endif] -[!if WTL_USE_CPP_FILES] - LRESULT OnWindowArrangeIcons(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - - LRESULT OnWindowArrangeIcons(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { - MDIIconArrange(); - return 0; - } -[!endif] -[!endif] -[!if WTL_APPTYPE_TABVIEW] -[!if WTL_USE_CPP_FILES] - LRESULT OnWindowClose(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - - LRESULT OnWindowClose(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { - int nActivePage = m_view.GetActivePage(); - if(nActivePage != -1) - m_view.RemovePage(nActivePage); - else - ::MessageBeep((UINT)-1); - - return 0; - } -[!endif] -[!if WTL_USE_CPP_FILES] - LRESULT OnWindowCloseAll(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - - LRESULT OnWindowCloseAll(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { - m_view.RemoveAllPages(); - - return 0; - } -[!endif] -[!if WTL_USE_CPP_FILES] -LRESULT OnWindowActivate(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - -LRESULT OnWindowActivate(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - int nPage = wID - ID_WINDOW_TABFIRST; - m_view.SetActivePage(nPage); - - return 0; -} -[!endif] -[!endif] -[!if WTL_APPTYPE_EXPLORER] -[!if WTL_USE_CPP_FILES] - LRESULT OnViewTreePane(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - - LRESULT OnViewTreePane(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { - bool bShow = (m_splitter.GetSinglePaneMode() != SPLIT_PANE_NONE); - m_splitter.SetSinglePaneMode(bShow ? SPLIT_PANE_NONE : SPLIT_PANE_RIGHT); - UISetCheck(ID_VIEW_TREEPANE, bShow); - - return 0; - } -[!endif] -[!if WTL_USE_CPP_FILES] - LRESULT OnTreePaneClose(WORD /*wNotifyCode*/, WORD /*wID*/, HWND hWndCtl, BOOL& /*bHandled*/); -[!else] - - LRESULT OnTreePaneClose(WORD /*wNotifyCode*/, WORD /*wID*/, HWND hWndCtl, BOOL& /*bHandled*/) - { - if(hWndCtl == m_pane.m_hWnd) - { - m_splitter.SetSinglePaneMode(SPLIT_PANE_RIGHT); - UISetCheck(ID_VIEW_TREEPANE, 0); - } - - return 0; - } -[!endif] -[!endif] -}; diff --git a/AppWiz/Files/Templates/1033/MainDlg.cpp b/AppWiz/Files/Templates/1033/MainDlg.cpp deleted file mode 100644 index 421198c..0000000 --- a/AppWiz/Files/Templates/1033/MainDlg.cpp +++ /dev/null @@ -1,164 +0,0 @@ -// [!output WTL_MAINDLG_FILE].cpp : implementation of the [!output WTL_MAINDLG_CLASS] class -// -///////////////////////////////////////////////////////////////////////////// - -#include "stdafx.h" -#include "resource.h" - -[!if WTL_APPTYPE_DLG && !WTL_APPTYPE_DLG_MODAL] -#include "aboutdlg.h" -[!endif] -#include "[!output WTL_MAINDLG_FILE].h" - -[!if WTL_APPTYPE_DLG && !WTL_APPTYPE_DLG_MODAL] -BOOL [!output WTL_MAINDLG_CLASS]::PreTranslateMessage(MSG* pMsg) -{ -[!if WTL_HOST_AX] - if((pMsg->message < WM_KEYFIRST || pMsg->message > WM_KEYLAST) && - (pMsg->message < WM_MOUSEFIRST || pMsg->message > WM_MOUSELAST)) - return FALSE; - - HWND hWndCtl = ::GetFocus(); - if(IsChild(hWndCtl)) - { - // find a direct child of the dialog from the window that has focus - while(::GetParent(hWndCtl) != m_hWnd) - hWndCtl = ::GetParent(hWndCtl); - - // give control a chance to translate this message - if(::SendMessage(hWndCtl, WM_FORWARDMSG, 0, (LPARAM)pMsg) != 0) - return TRUE; - } - -[!endif] - return CWindow::IsDialogMessage(pMsg); -} - -BOOL [!output WTL_MAINDLG_CLASS]::OnIdle() -{ - UIUpdateChildWindows(); - return FALSE; -} - -LRESULT [!output WTL_MAINDLG_CLASS]::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) -{ - // center the dialog on the screen - CenterWindow(); - - // set icons - HICON hIcon = AtlLoadIconImage(IDR_MAINFRAME, LR_DEFAULTCOLOR, ::GetSystemMetrics(SM_CXICON), ::GetSystemMetrics(SM_CYICON)); - SetIcon(hIcon, TRUE); - HICON hIconSmall = AtlLoadIconImage(IDR_MAINFRAME, LR_DEFAULTCOLOR, ::GetSystemMetrics(SM_CXSMICON), ::GetSystemMetrics(SM_CYSMICON)); - SetIcon(hIconSmall, FALSE); - - // register object for message filtering and idle updates - CMessageLoop* pLoop = _Module.GetMessageLoop(); - ATLASSERT(pLoop != NULL); - pLoop->AddMessageFilter(this); - pLoop->AddIdleHandler(this); - - UIAddChildWindowContainer(m_hWnd); - - return TRUE; -} - -LRESULT [!output WTL_MAINDLG_CLASS]::OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) -{ - // unregister message filtering and idle updates - CMessageLoop* pLoop = _Module.GetMessageLoop(); - ATLASSERT(pLoop != NULL); - pLoop->RemoveMessageFilter(this); - pLoop->RemoveIdleHandler(this); -[!if WTL_COM_SERVER] - - // if UI is the last thread, no need to wait - if(_Module.GetLockCount() == 1) - { - _Module.m_dwTimeOut = 0L; - _Module.m_dwPause = 0L; - } - _Module.Unlock(); -[!endif] - - return 0; -} - -LRESULT [!output WTL_MAINDLG_CLASS]::OnAppAbout(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - CAboutDlg dlg; - dlg.DoModal(); - return 0; -} - -LRESULT [!output WTL_MAINDLG_CLASS]::OnOK(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - // TODO: Add validation code - CloseDialog(wID); - return 0; -} - -LRESULT [!output WTL_MAINDLG_CLASS]::OnCancel(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - CloseDialog(wID); - return 0; -} - -void [!output WTL_MAINDLG_CLASS]::CloseDialog(int nVal) -{ - DestroyWindow(); - ::PostQuitMessage(nVal); -} -[!endif] -[!if WTL_APPTYPE_DLG && WTL_APPTYPE_DLG_MODAL] -LRESULT [!output WTL_MAINDLG_CLASS]::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) -{ -[!if WTL_COM_SERVER] - _Module.Lock(); - -[!endif] - // center the dialog on the screen - CenterWindow(); - - // set icons - HICON hIcon = AtlLoadIconImage(IDR_MAINFRAME, LR_DEFAULTCOLOR, ::GetSystemMetrics(SM_CXICON), ::GetSystemMetrics(SM_CYICON)); - SetIcon(hIcon, TRUE); - HICON hIconSmall = AtlLoadIconImage(IDR_MAINFRAME, LR_DEFAULTCOLOR, ::GetSystemMetrics(SM_CXSMICON), ::GetSystemMetrics(SM_CYSMICON)); - SetIcon(hIconSmall, FALSE); - - return TRUE; -} - -[!if WTL_COM_SERVER] -LRESULT [!output WTL_MAINDLG_CLASS]::OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) -{ - // if UI is the last thread, no need to wait - if(_Module.GetLockCount() == 1) - { - _Module.m_dwTimeOut = 0L; - _Module.m_dwPause = 0L; - } - _Module.Unlock(); - return 0; -} - -[!endif] -LRESULT [!output WTL_MAINDLG_CLASS]::OnAppAbout(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - CSimpleDialog dlg; - dlg.DoModal(); - return 0; -} - -LRESULT [!output WTL_MAINDLG_CLASS]::OnOK(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - // TODO: Add validation code - EndDialog(wID); - return 0; -} - -LRESULT [!output WTL_MAINDLG_CLASS]::OnCancel(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - EndDialog(wID); - return 0; -} -[!endif] diff --git a/AppWiz/Files/Templates/1033/MainDlg.h b/AppWiz/Files/Templates/1033/MainDlg.h deleted file mode 100644 index b77daf5..0000000 --- a/AppWiz/Files/Templates/1033/MainDlg.h +++ /dev/null @@ -1,256 +0,0 @@ -// [!output WTL_MAINDLG_FILE].h : interface of the [!output WTL_MAINDLG_CLASS] class -// -///////////////////////////////////////////////////////////////////////////// - -#pragma once - -[!if WTL_APPTYPE_DLG && !WTL_APPTYPE_DLG_MODAL] -class [!output WTL_MAINDLG_CLASS] : public [!output WTL_MAINDLG_BASE_CLASS]<[!output WTL_MAINDLG_CLASS]>, public CUpdateUI<[!output WTL_MAINDLG_CLASS]>, - public CMessageFilter, public CIdleHandler -{ -public: - enum { IDD = IDD_MAINDLG }; - -[!if WTL_USE_CPP_FILES] - virtual BOOL PreTranslateMessage(MSG* pMsg); -[!else] - virtual BOOL PreTranslateMessage(MSG* pMsg) - { -[!if WTL_HOST_AX] - if((pMsg->message < WM_KEYFIRST || pMsg->message > WM_KEYLAST) && - (pMsg->message < WM_MOUSEFIRST || pMsg->message > WM_MOUSELAST)) - return FALSE; - - HWND hWndCtl = ::GetFocus(); - if(IsChild(hWndCtl)) - { - // find a direct child of the dialog from the window that has focus - while(::GetParent(hWndCtl) != m_hWnd) - hWndCtl = ::GetParent(hWndCtl); - - // give control a chance to translate this message - if(::SendMessage(hWndCtl, WM_FORWARDMSG, 0, (LPARAM)pMsg) != 0) - return TRUE; - } - -[!endif] - return CWindow::IsDialogMessage(pMsg); - } - -[!endif] -[!if WTL_USE_CPP_FILES] - virtual BOOL OnIdle(); -[!else] - virtual BOOL OnIdle() - { - UIUpdateChildWindows(); - return FALSE; - } -[!endif] - - BEGIN_UPDATE_UI_MAP([!output WTL_MAINDLG_CLASS]) - END_UPDATE_UI_MAP() - - BEGIN_MSG_MAP([!output WTL_MAINDLG_CLASS]) - MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog) - MESSAGE_HANDLER(WM_DESTROY, OnDestroy) - COMMAND_ID_HANDLER(ID_APP_ABOUT, OnAppAbout) - COMMAND_ID_HANDLER(IDOK, OnOK) - COMMAND_ID_HANDLER(IDCANCEL, OnCancel) - END_MSG_MAP() - -// Handler prototypes (uncomment arguments if needed): -// LRESULT MessageHandler(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) -// LRESULT CommandHandler(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -// LRESULT NotifyHandler(int /*idCtrl*/, LPNMHDR /*pnmh*/, BOOL& /*bHandled*/) - -[!if WTL_USE_CPP_FILES] - LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/); -[!else] - LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) - { - // center the dialog on the screen - CenterWindow(); - - // set icons - HICON hIcon = AtlLoadIconImage(IDR_MAINFRAME, LR_DEFAULTCOLOR, ::GetSystemMetrics(SM_CXICON), ::GetSystemMetrics(SM_CYICON)); - SetIcon(hIcon, TRUE); - HICON hIconSmall = AtlLoadIconImage(IDR_MAINFRAME, LR_DEFAULTCOLOR, ::GetSystemMetrics(SM_CXSMICON), ::GetSystemMetrics(SM_CYSMICON)); - SetIcon(hIconSmall, FALSE); - - // register object for message filtering and idle updates - CMessageLoop* pLoop = _Module.GetMessageLoop(); - ATLASSERT(pLoop != NULL); - pLoop->AddMessageFilter(this); - pLoop->AddIdleHandler(this); - - UIAddChildWindowContainer(m_hWnd); - - return TRUE; - } - -[!endif] -[!if WTL_USE_CPP_FILES] - LRESULT OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/); -[!else] - LRESULT OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) - { - // unregister message filtering and idle updates - CMessageLoop* pLoop = _Module.GetMessageLoop(); - ATLASSERT(pLoop != NULL); - pLoop->RemoveMessageFilter(this); - pLoop->RemoveIdleHandler(this); -[!if WTL_COM_SERVER] - - // if UI is the last thread, no need to wait - if(_Module.GetLockCount() == 1) - { - _Module.m_dwTimeOut = 0L; - _Module.m_dwPause = 0L; - } - _Module.Unlock(); -[!endif] - - return 0; - } - -[!endif] -[!if WTL_USE_CPP_FILES] - LRESULT OnAppAbout(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - LRESULT OnAppAbout(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { - CAboutDlg dlg; - dlg.DoModal(); - return 0; - } - -[!endif] -[!if WTL_USE_CPP_FILES] - LRESULT OnOK(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - LRESULT OnOK(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { - // TODO: Add validation code - CloseDialog(wID); - return 0; - } - -[!endif] -[!if WTL_USE_CPP_FILES] - LRESULT OnCancel(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - LRESULT OnCancel(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { - CloseDialog(wID); - return 0; - } - -[!endif] -[!if WTL_USE_CPP_FILES] - - void CloseDialog(int nVal); -[!else] - void CloseDialog(int nVal) - { - DestroyWindow(); - ::PostQuitMessage(nVal); - } -[!endif] -}; -[!endif] -[!if WTL_APPTYPE_DLG && WTL_APPTYPE_DLG_MODAL] -class [!output WTL_MAINDLG_CLASS] : public [!output WTL_MAINDLG_BASE_CLASS]<[!output WTL_MAINDLG_CLASS]> -{ -public: - enum { IDD = IDD_MAINDLG }; - - BEGIN_MSG_MAP([!output WTL_MAINDLG_CLASS]) - MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog) -[!if WTL_COM_SERVER] - MESSAGE_HANDLER(WM_DESTROY, OnDestroy) -[!endif] - COMMAND_ID_HANDLER(ID_APP_ABOUT, OnAppAbout) - COMMAND_ID_HANDLER(IDOK, OnOK) - COMMAND_ID_HANDLER(IDCANCEL, OnCancel) - END_MSG_MAP() - -// Handler prototypes (uncomment arguments if needed): -// LRESULT MessageHandler(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) -// LRESULT CommandHandler(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -// LRESULT NotifyHandler(int /*idCtrl*/, LPNMHDR /*pnmh*/, BOOL& /*bHandled*/) - -[!if WTL_USE_CPP_FILES] - LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/); -[!else] - LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) - { -[!if WTL_COM_SERVER] - _Module.Lock(); - -[!endif] - // center the dialog on the screen - CenterWindow(); - - // set icons - HICON hIcon = AtlLoadIconImage(IDR_MAINFRAME, LR_DEFAULTCOLOR, ::GetSystemMetrics(SM_CXICON), ::GetSystemMetrics(SM_CYICON)); - SetIcon(hIcon, TRUE); - HICON hIconSmall = AtlLoadIconImage(IDR_MAINFRAME, LR_DEFAULTCOLOR, ::GetSystemMetrics(SM_CXSMICON), ::GetSystemMetrics(SM_CYSMICON)); - SetIcon(hIconSmall, FALSE); - - return TRUE; - } - -[!endif] -[!if WTL_COM_SERVER] -[!if WTL_USE_CPP_FILES] - LRESULT OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/); -[!else] - LRESULT OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) - { - // if UI is the last thread, no need to wait - if(_Module.GetLockCount() == 1) - { - _Module.m_dwTimeOut = 0L; - _Module.m_dwPause = 0L; - } - _Module.Unlock(); - - return 0; - } - -[!endif] -[!endif] -[!if WTL_USE_CPP_FILES] - LRESULT OnAppAbout(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - LRESULT OnAppAbout(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { - CSimpleDialog dlg; - dlg.DoModal(); - return 0; - } - -[!endif] -[!if WTL_USE_CPP_FILES] - LRESULT OnOK(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - LRESULT OnOK(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { - // TODO: Add validation code - EndDialog(wID); - return 0; - } - -[!endif] -[!if WTL_USE_CPP_FILES] - LRESULT OnCancel(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - LRESULT OnCancel(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { - EndDialog(wID); - return 0; - } -[!endif] -}; -[!endif] diff --git a/AppWiz/Files/Templates/1033/ReadMe.txt b/AppWiz/Files/Templates/1033/ReadMe.txt deleted file mode 100644 index 49c6536..0000000 --- a/AppWiz/Files/Templates/1033/ReadMe.txt +++ /dev/null @@ -1,18 +0,0 @@ -======================================================================== - Windows Template Library : "[!output PROJECT_NAME]" Project Overview -======================================================================== - -The ATL/WTL Application Wizard has created this "[!output PROJECT_NAME]" project for you as a starting point. - -This file contains a summary of what you will find in each of the files that make up your project. - -WTLApp70.vcproj - This is the main project file for projects generated using an Application Wizard. - It contains information about the version of the product that generated the file, and - information about the platforms, configurations, and project features selected with the - Application Wizard. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -///////////////////////////////////////////////////////////////////////////// diff --git a/AppWiz/Files/Templates/1033/root.exe.manifest b/AppWiz/Files/Templates/1033/root.exe.manifest deleted file mode 100644 index 07919af..0000000 --- a/AppWiz/Files/Templates/1033/root.exe.manifest +++ /dev/null @@ -1,24 +0,0 @@ - - - - - [!output PROJECT_NAME] Application - - - - - - - diff --git a/AppWiz/Files/Templates/1033/root.ico b/AppWiz/Files/Templates/1033/root.ico deleted file mode 100644 index 3b11c7a4c8792cac1d3a0a013bc59fc838f51a5e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1078 zcmc(dJ#GRq5QWDi(t<2S>(bp;5y!}pwlk$uu@VKi^ex;`xZyZC0v&m8%mM{cBBjWH zJ@dU8|LpFF7+J_L^g{buh`hu1edDzed3zCALmMzYFpRun7Kx~RZV^djVr&jGLOGpI z@Jw9vFP94=4E!jOf3&kKTTPTbf^(53ObGUuvxTEDRR()emgQ6{5Y||1jfyjC^+Wzz zeXD<94e#7GzHzNv?hKwb^mQ8ogep@A5Qr4Yl71tKAxw%8vI@H*EuS-m$TJ{pfDm@2 z@VI5eoNZM$Ij59;_SH7_$@`RDnmPHDyvwdyUQf&|uh$jhoc9hBl6-fDE?NH!zg2%dy@6BD% X29B$8a*nI`CHihO^scAlQGc;-Lc0CO diff --git a/AppWiz/Files/WTLAppWiz.ico b/AppWiz/Files/WTLAppWiz.ico deleted file mode 100644 index 3b11c7a4c8792cac1d3a0a013bc59fc838f51a5e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1078 zcmc(dJ#GRq5QWDi(t<2S>(bp;5y!}pwlk$uu@VKi^ex;`xZyZC0v&m8%mM{cBBjWH zJ@dU8|LpFF7+J_L^g{buh`hu1edDzed3zCALmMzYFpRun7Kx~RZV^djVr&jGLOGpI z@Jw9vFP94=4E!jOf3&kKTTPTbf^(53ObGUuvxTEDRR()emgQ6{5Y||1jfyjC^+Wzz zeXD<94e#7GzHzNv?hKwb^mQ8ogep@A5Qr4Yl71tKAxw%8vI@H*EuS-m$TJ{pfDm@2 z@VI5eoNZM$Ij59;_SH7_$@`RDnmPHDyvwdyUQf&|uh$jhoc9hBl6-fDE?NH!zg2%dy@6BD% X29B$8a*nI`CHihO^scAlQGc;-Lc0CO diff --git a/AppWiz/Files/WTLAppWiz.vsdir b/AppWiz/Files/WTLAppWiz.vsdir deleted file mode 100644 index eec7e2b..0000000 --- a/AppWiz/Files/WTLAppWiz.vsdir +++ /dev/null @@ -1 +0,0 @@ -WTLAppWiz.vsz| |ATL/WTL Application Wizard|1|An application that uses the Windows Template Library.| |6777|4096|#1154 diff --git a/AppWiz/Files_15/1033/styles.css b/AppWiz/Files_15/1033/styles.css deleted file mode 100644 index d52624c..0000000 --- a/AppWiz/Files_15/1033/styles.css +++ /dev/null @@ -1,582 +0,0 @@ -/******************************************************************************/ -/*DEFAULT STYLES FOR ALL SECTIONS**********************************************/ -/******************************************************************************/ -body { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - color: buttontext; - background-color: buttonface; - margin-top: 0px; - margin-left: 0px; - margin-right: 0px; - margin-bottom: 0px; - overflow: visible; } - -a:link { color: captiontext; - text-decoration: none; } - -a:visited { color: captiontext; - text-decoration: none; } - -a:active { color: captiontext; - text-decoration: none; } - -a:hover { color: captiontext; - text-decoration: underline; } - -table { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - color: buttontext; - width: 100%; } - -table.one { table-layout: fixed; - height: 100%; - width: 100%; } - - -/*DEFAULT STYLES FOR THE 'INTRODUCTION' TABLE**********************************/ -/******************************************************************************/ - -table.two { table-layout: fixed; - height: 79px; - width: 100%; - background-color: window; } - -td.image { text-align: right; } - -td.rule { background-color: window; } - -h1.head { font-weight: bold; - font-size: 10pt; - color: windowtext; - margin-top: -3px; } - -p.subhead { color: windowtext; - margin-top: -12px; - margin-left: 10px; } - -img.smallest { background-color: activecaption; - z-index: 1; } - -img.small { z-index: 1; } - -/*DEFAULT STYLES FOR THE 'NAVIGATION' TABLE************************************/ -/******************************************************************************/ - -table.three { table-layout: fixed; - height: 100%; - width: 178px; } - -td.three { background-attachment: fixed; - background-repeat: no-repeat; - background-position: bottom left; - background-color: activecaption; } - -td.dottedline { background: url(Images/DottedHori.gif) repeat; } - -table.linktextselected { font-weight: bold; - width: 157px; - height: 30px; - position: relative; - left: 10px; - z-index: 2; } - -table.linktextselectedindent { font-weight: bold; - width: 148px; - height: 30px; - position: relative; - left: 18px; - z-index: 2; } - -table.linktext { width: 157px; - height: 30px; - position: relative; - left: 10px; - z-index: 2; } - -table.linktextindent { width: 148px; - height: 30px; - position: relative; - left: 18px; - z-index: 2; } - -div.linkselected { background-color: buttonface; - height: 30px; - width: 166px; - position: relative; - left: 0px; - right: 0px; - z-index: 1; } - -div.link { height: 30px; - width: 166px; - position: relative; - left: 0px; - right: 0px; - z-index: 1; } - -div.vertline { background: url(Images/DottedVert.gif) repeat; - height: 125%; - width: 1px; - position: relative; - top: -12px; - left: -1px; } - -span.vertline1 { background: url(Images/DottedVert.gif) repeat; - height: 100%; - width: 1px; - position: absolute; - top: 0px; - left: -1px; - bottom: 0px; - z-index: 2; } - -span.horiline1 { height: 30px; - width: 166px; - position: absolute; - top: -1px; - left: -1px; - bottom: -1px; - z-index: 2; } - -span.activelink { color: captiontext; - text-decoration: none; - cursor: hand; } - -span.activelink2 { color: captiontext; - text-decoration: underline; - cursor: hand; } - -span.inactivelink { color: buttonface; - text-decoration: none; - cursor: default; } - - -/*DEFAULT STYLES FOR THE ALL BUTTONS AND THE 'BUTTONS' TABLE*******************/ -/******************************************************************************/ - -button { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - height: 23px; - cursor: hand; } - -.buttons { width: 75px; } - -/*DEFAULT STYLES FOR THE 'CONTENT' TABLE***************************************/ -/******************************************************************************/ - -table.content { table-layout: fixed; - height: 100%; - width: 422px; } - -table.content1 { table-layout: fixed; - height: 100%; - width: 398px; } - -table.content2 { table-layout: fixed; - height: 100%; - width: 193px; } - -ol { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - color: buttontext; - margin-top: -1px; - margin-bottom: 16px; } - -ul { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - color: buttontext; - margin-top: -1px; - margin-bottom: 16px; } - -li { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - color: buttontext; - position: relative; - left: -15px; - margin-bottom: 1px; } - -span.itemtext { position: relative; - top: -3px; } - -span.itemtextindent { position: relative; - left: 17px; - top: -3px; } - -span.itemtextindentA { position: relative; - left: 25px; - top: -3px; } - -span.itemtextindent1 { position: relative; - left: 8px; - top: -3px; } - -span.sidebtnhidden { width: 100%; - margin-top: 3px; - margin-bottom: 0px; } - -div.itemtextradioB { position: relative; - top: -19px; - left: 25px; - margin-bottom: -25px; } - -div.itemtextradioindentA { position: relative; - top: -17px; - left: 30px; - margin-bottom: -25px; } - -div.itemtextradioindentB { position: relative; - top: -19px; - left: 42px; - margin-bottom: -25px; } - -div.itemtextcheckboxA { position: relative; - top: -17px; - left: 17px; - margin-bottom: -23px; } - -div.itemtextcheckboxB { position: relative; - top: -18px; - left: 25px; - margin-bottom: -25px; } - -div.itemtextcheckboxindentB { position: relative; - top: -16px; - left: 42px; - margin-bottom: -25px; } - -div.inlineA { position: relative; - top: 4px; - width: 100%; - height:1px; - border-top: solid buttonshadow 1px; } - -div.inlineB { position: relative; - top: -9px; - margin-bottom: -20px; - width: 100%; - height:1px; - border-top: solid threedhighlight 1px; } - -input { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - color: buttontext; } - -.radio { position: relative; - top: -2px; - left: 4px; } - -.radioIndentA { margin-top: -2px; - margin-left: 9px; } - -.radioIndent { margin-top: -2px; - margin-left: 17px; } - -.checkboxA { position: relative; - top: -2px; - left: 4px; } - -.checkbox { position: relative; - top: -1px; - margin-left: -4px; - z-index: 2; } - -.checkboxIndent { margin-top: -1px; - margin-left: 21px; } - -.comment { width: 566px; - position: relative; - top: 5px; - left: 8px; - bottom: 6px; } - -.comment2 { width: 391px; - position: relative; - top: 5px; - left: 8px; - bottom: 6px; } - -/****THIS IS THE STANDARD INPUT BOX********************************************/ -input.sidebtn { width: 173px; - position: relative; - top: 5px; - left: 8px; } - -/****THIS IS AN INPUT BOX INDENTED UNDER A CHECKBOX SECTION*******************/ -input.sidebtnIndent { width: 163px; - position: relative; - top: 5px; - left: 18px; - bottom: 6px; } - -/****THIS INPUT BOX HAS IS INDENTED UNDER A HEADING AND RULE SECTION***********/ -input.sidebtnB { width: 164px; - position: relative; - top: 5px; - left: 8px; - bottom: 6px; } - -/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT*******************************/ -input.sidebtn2 { width: 149px; - position: relative; - top: 5px; - left: 8px; - bottom: 6px; } - -/****THIS INPUT BOX HAS A "..." BUTTON BESIDE IT AND IT'S UNDER A CHECKBOX*****/ -input.sidebtn2Indent { width: 139px; - position: relative; - top: 5px; - left: 18px; - bottom: 6px; } - -input.sidebtn21 { width: 141px; - position: relative; - top: 5px; - left: 8px; - bottom: 6px; } - -input.sidebtn2Long { width: 253px; - position: relative; - top: 5px; - left: 8px; - bottom: 6px; } - -input.sidebtn2A { width: 140px; - position: relative; - top: 5px; - left: 8px; - bottom: 6px; } - -input.sidebtn2B { width: 156px; - position: relative; - top: 6px; - left: 8px; - bottom: 0px; - margin-bottom: -3px; } - -select { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - color: buttontext; } - -/****THIS IS THE STANDARD SELECTION BOX****************************************/ -select.sidebtn { width: 173px; - position: relative; - top: 6px; - left: 8px; - bottom: 0px; - margin-bottom: -3px; } - -/****THIS IS THE STANDARD SELECTION BOX****************************************/ -span.sidebtn { position: relative; - top: 6px; - left: 8px; - bottom: 0px; - margin-bottom: -3px; } - -/****THIS IS THE STANDARD SELECTION BOX****************************************/ -span.itemtextspecial { position: relative; - top: -20px; - left: 16px; - bottom: 0px; - margin-bottom: -3px; } - -/****THIS IS THE STANDARD SELECTION BOX****************************************/ -span.sidebtnspecial { position: relative; - top: -2px; - left: 54px; - bottom: 0px; - margin-bottom: -3px; } - -/****THIS SELECTION BOX IS INDENTED UNDER A HEADING AND RULE SECTION***********/ -select.sidebtnB { width: 164px; - position: relative; - top: 6px; - left: 8px; - bottom: 0px; - margin-bottom: -3px; } - -/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX****************/ -select.sidebtn2 { width: 164px; - position: relative; - top: 13px; - left: 17px; - bottom: 0px; - margin-bottom: -3px; } - -/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/ -select.sidebtn2A { width: 156px; - position: relative; - top: 13px; - left: 25px; - bottom: 0px; - margin-bottom: -3px; } - -/****THIS SELECTION BOX IS BELOW AND ASSOCIATED WITH A CHECKBOX AND HEADING****/ -select.sidebtn2ALong { width: 277px; - position: relative; - top: 6px; - left: 25px; - bottom: 0px; - margin-bottom: -3px; } - -select.sidebtn2B { width: 156px; - position: relative; - top: 6px; - left: 8px; - bottom: 0px; - margin-bottom: -3px; } - -/****THIS SELECTION BOX HAS "..." BUTTONS BESIDE THEM**************************/ -select.sidebtn2C { width: 149px; - position: relative; - top: 5px; - left: 8px; - bottom: 6px; } - -select.sidebtn2CLong { width: 253px; - position: relative; - top: 5px; - left: 8px; - bottom: 6px; } - -select.sidebtn3 { width: 150px; - position: relative; - top: 6px; - bottom: 0px; - margin-bottom: -3px; } - -/****THIS SELECTION BOX IS FOR HORIZONTAL ADD/REMOVE SECTIONS******************/ -select.sidebtn4Long { width: 574px; - position: relative; - top: 6px; - left: 8px; - bottom: 0px; - margin-bottom: -3px; } - -object.itemtext { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - color: buttontext; - width: 173px; - height: 19px; - position: relative; - top: 6px; - left: 8px; - margin-bottom: 2px; } - -.dropdowncombo { font-family: Tahoma, Verdana, Arial, Sans Serif; - font-weight: normal; - font-size: 8pt; - color: buttontext; } - -/****THIS DEFINES A STANDARD BUTTON IN THE CONTENT SECTION*********************/ -.buttonclass { margin-top: 2px; - margin-left: 8px; - margin-bottom: -6px; - padding: 2px; } - -/****THIS DEFINES ADD/REMOVE BUTTONS IN THE CONTENT SECTION********************/ -.buttonclass2 { margin-top: 8px; - margin-left: 8px; - z-index: 1; - cursor: hand; } - -/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION************************/ -.buttonclass3 { height: 19px; - width: 20px; - position: relative; - top: 2px; } - -/****THIS DEFINES A "..." BUTTON IN THE CONTENT SECTION AND UNDER A CHECKBOX***/ -.buttonclass3Indent { height: 19px; - width: 20px; - position: relative; - top: 2px; - left: 10px; } - -.buttonclass31 { height: 19px; - width: 20px; - position: relative; - top: 2px; - left:8px; } - -.buttonclass3A { height: 19px; - width: 20px; - position: relative; - top: 5px; } - -/****THIS DEFINES A ">>" BUTTON IN THE CONTENT SECTION************************/ -.buttonclass4 { margin-bottom: 4px; - width: 75px; - height: 23px; } - -/****THIS DEFINES ADD/REMOVE BUTTONS HORIZONTALLY IN THE CONTENT SECTION******/ -.buttonclass5 { margin-left: 4px; } - -/****THIS DEFINES FIRST ADD/REMOVE BUTTONS HORIZONTALLY IN CONTENT SECTION****/ -.buttonclass5A { margin-left: 8px; } - -/****THIS SETS THE LEFT MARGIN FOR THE REMOVE BUTTON***************************/ -#removebtn { margin-left: 4px; } - - - -/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/ -label.indent { margin-left: 18px; } - -/****THIS SETS THE LEFT MARGIN FOR INDENTED SECTION UNDER CHECKBOXES***********/ -label.indent2 { margin-left: 26px; } - - -/****THESE ARE CUSTOM SPACING ELEMENTS*****************************************/ -p.spacer { margin-bottom: -28px; } - -p.elementspacer { margin-bottom: -12px; } - -p.elementspacer2 { margin-bottom: -19px; } - -p.elementspacer3 { margin-bottom: -3px; } - -p.elementspacer4 { margin-bottom: 7px; } - -p.elementspacer5 { margin-bottom: 5px; } - -p.elementspacer6 { margin-bottom: -24px; } - -p.elementspacer7 { margin-bottom: -11px; } - -p.elementspacer8 { margin-bottom: -14px; } - -p.elementspacer9 { margin-bottom: -7px; } - -p.elementspacer10 { margin-bottom: 6px; } - -p.elementspacer11 { margin-bottom: 22px; } - -p.elementspacer12 { margin-bottom: -17px; } - -p.elementspacer13 { margin-bottom: -23px; } - -p.elementspacer14 { margin-bottom: -25px; } - - -/*CUSTOM STYLES FOR THE 'CONTENT' FRAME****************************************/ -/******************************************************************************/ - - - /*MFCAppWiz - Generated Classes.htm****************************************/ - /**************************************************************************/ - #CLASS_NAMES { width: 391px; } - - #PARAMETER_LIST_SPAN { position: relative; - top: 46px; } - - #PARAMETER_LIST { margin-top: -1px; } \ No newline at end of file diff --git a/AppWiz/Files_15/HTML/1033/AppType.htm b/AppWiz/Files_15/HTML/1033/AppType.htm deleted file mode 100644 index c2adb74..0000000 --- a/AppWiz/Files_15/HTML/1033/AppType.htm +++ /dev/null @@ -1,471 +0,0 @@ - - - - - 'ATL/WTL Application Wizard' - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - -
-   - -   - -   - -
- -
-
-   -
-   - - -

Specify the application type and project options.

-
-   -
- - - - - -
-
-
- - - - - - - - - - - - - - -
-   -
-   - - - -
- - - - - - - - - - - - -
-
- -
-
-
- - - - - -
- Application - Type - - -
-
- - -
-
- -
-
- -
- - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - -
-   -
-   - - - Select application type: -

 

- -
- -
-
- -
- -
-
- -
- -
-
- -
- -
-
- -
- -
-
- -
- -
-
- -         - -
- -
-
-
- -   - Select project options: -

 

- -
- -
-
- -
- -
-
- -
- -
-
- -
- -
-
- -
- -
-
-
-   -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -
-
-   -
-   - -   - - - -   - - - -   - - - -   -
-   -
- -
- -
- - - - - - - diff --git a/AppWiz/Files_15/HTML/1033/UIFeatures.htm b/AppWiz/Files_15/HTML/1033/UIFeatures.htm deleted file mode 100644 index 0191ca8..0000000 --- a/AppWiz/Files_15/HTML/1033/UIFeatures.htm +++ /dev/null @@ -1,554 +0,0 @@ - - - - - 'ATL/WTL Application Wizard' - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - -
-   - -   - -   - -
- -
-
-   -
-   - - -

Specify features for the selected application type.

-
-   -
- - - - - -
-
-
- - - - - - - - - - - - - - -
-   -
-   - - - - -
- - - - - - - - - - - - -
-
- -
-
-
- - - - - -
- User Interface - Features - - -
-
- -
-
- -
-
- -
- - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - -
-   -
-   - - - Select application features: -

 

- -
- -
-
- -
- -
-
- -
- -
-
- -
- -
-
- -
- -
-
- -

 

-

 

- - -

 

- -
- -
-
- -

 

- - -
- -
- -

 

- - -

 

- -
- -
-
- -
-   -
-   -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -
-
-   -
-   - -   - - - -   - - - -   - - - -   -
-   -
- -
- -
- - - - - - - diff --git a/AppWiz/Files_15/HTML/1033/default.htm b/AppWiz/Files_15/HTML/1033/default.htm deleted file mode 100644 index 7735d42..0000000 --- a/AppWiz/Files_15/HTML/1033/default.htm +++ /dev/null @@ -1,534 +0,0 @@ - - - - - 'ATL/WTL Application Wizard' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - -
-   - -   - -   - -
- -
-
-   -
-   - - -

This wizard generates a WTL application project - with the properties you specify.

-
-   -
- - - - - -
-
-
- - - - - - - - - - - - - - -
-   -
-   - - -
- - - - - - - - - - - - -
-
- -
-
-
- - - - - -
- Overview - - -
-
- - - -
-
- -
-
- -
- - - - - - - - - - -
- - - - - - - - - - - - - - - -
-   -
-   - - These are the current project settings: -
    -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • -
- - Click Finish from any window to accept the current settings. - -

 

- - - After you create the project, examine the project's files for more information about the classes and resources that are generated. -
-   -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -
-
-   -
-   - -   - - - -   - - - -   - - - -   -
-   -
- -
- -
- - - - - - - diff --git a/AppWiz/Files_15/Images/WTLApp70.gif b/AppWiz/Files_15/Images/WTLApp70.gif deleted file mode 100644 index b816a5825ac49b891b9d9a50cf425dcfc8069c56..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 486 zcmVBNk%w1VLt#r0FeLy|NsBMz`y_i00000A^8LW00031EC2ui06zdf00092 zjEtwr>kXfbblQrq&U||ugyKk+=82|I$9~_c#_~))?d?)99RmIj3<7vH1}-2>26Kzu zObPuFL$+M>3Sd%=)9$p&!d`FA*wA~Xfj>j-q0K6*(mfwZI-<+g9QfP5AQebvL!*Z$ zg4jdEx8a8bh#)9Q$n|t*hg5gSXk^78m<9RxxFMHvXeXtp$c`3jbJ1#n+NAuH^qEB5f#L2rY!tUD4X}Nq9eC+5n1JYc~V$RdJkwy3O2K$rETXj z{cMQ}D6ertMHSUl6P8k2$(riCc+cg;sU{uByejTOMu%UW>Vk^mV^FLO&W=kn*g cL(`_+p?*DZHEV;ZYs0>6J2&p#8wvmbJ7bmL!~g&Q diff --git a/AppWiz/Files_15/Images/WTLApp70_Background.gif b/AppWiz/Files_15/Images/WTLApp70_Background.gif deleted file mode 100644 index 02ccafbc5b6524394d80453b0844dce4823b96a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1241 zcmV;~1Sb1ONk%w1VX*)~0e}Diz`(!&001HR1OWg5001li0002706_r&0{?`MsmtvT zqnxzbi?iOm`wxcVNS5Y_rs~SJ?hD8AOxIEX;CjyQeh>T!gT$e+h_oq}%qHRpMMkI6 zD%FY2YE{&(_3I7uw&b!|BTj?Y>f`whkGI+MxjK%|XYKVqKdKifNb~1sSm-vWxJZI{ z_~?kkI7!J735m&9xyd*sZv^g#9V@3OMcKCyX02oa{JqT+9a6S|-Z*vgXcXJ%7#`dLmv?2~3}^ zfz?LCj;>!DOC54FYs!0VXEt0`H|@&4rQ$}pdU)^Rs{IB}c8a-Z;9#9;lAfFTS?iCm zXP0ys)8b3skvp&ctaY;THjlS=H2xL)p6=BQn$Abr;qap^7WI zP$G0Vtxt!^Ynv!t`r-KQ`d8M0kqKT)8chXtkjC}qHOMrkXX=kB^ z9*St9ioOP6j)Ue2DWZ)+`Y4%)PFg9YkuI8IkA#}pC#Q}skft)FCK_dzp^BR7KBr1r zC3y6_dTFd#uF7evv*Nm_uIAVjZH^by+Pk+5MXRhS*`MeFN2JbDg%=>w>*(%>u*CaiA`v z4YS=x1D&+q{PO)K-rfRkv)~c44H@HmJ1#TfVX!NGFXcExeh=nuB95-&?Luv_&)jkj zGU+6n{x9ln8U8Nl+PXd+-GQ@?v8D#Hta{O_OJ26_2J_zgoxcApJngdsAG_vLXIf|L z%%3ZJ)X5Lu^z`6XU;6dRTMs++&S&kt=#OikE%(K^&87Opu#cttzQ8}F{Jqfsr2V|$ zzoh=V@NXpl=>mX465yIVCml?c4|?mV)qVD~zz9BYX%ie3122fZ;%RV$9PA(p3IG5* Dgrj$S diff --git a/AppWiz/Files_15/Scripts/1033/default.js b/AppWiz/Files_15/Scripts/1033/default.js deleted file mode 100644 index 4802fd7..0000000 --- a/AppWiz/Files_15/Scripts/1033/default.js +++ /dev/null @@ -1,590 +0,0 @@ -// Windows Template Library - WTL version 9.10 -// Copyright (C) Microsoft Corporation, WTL Team. All rights reserved. -// -// This file is a part of the Windows Template Library. -// The use and distribution terms for this software are covered by the -// Microsoft Public License (http://opensource.org/licenses/MS-PL) -// which can be found in the file MS-PL.txt at the root folder. - - -function OnFinish(selProj, selObj) -{ - try - { - var strProjectPath = wizard.FindSymbol('PROJECT_PATH'); - var strProjectName = wizard.FindSymbol('PROJECT_NAME'); - - // Allen K, no more back support old wizard. works for 15 only - if(wizard.FindSymbol("WTL_USE_MANIFEST")) - { - wizard.AddSymbol("WTL_USE_EMBEDDED_MANIFEST", true); - wizard.AddSymbol("WTL_USE_MANIFEST", false); - } - - // Use ATL3 from SDK for VS2005 Express - if(wizard.FindSymbol("VC_EXPRESS")) - { - wizard.AddSymbol("WTL_USE_EXTERNAL_ATL", true); - } - - // Create symbols based on the project name - var strSafeProjectName = CreateSafeName(strProjectName); - wizard.AddSymbol("SAFE_PROJECT_NAME", strSafeProjectName); - wizard.AddSymbol("NICE_SAFE_PROJECT_NAME", strSafeProjectName.substr(0, 1).toUpperCase() + strSafeProjectName.substr(1)) - wizard.AddSymbol("UPPERCASE_SAFE_PROJECT_NAME", strSafeProjectName.toUpperCase()); - - // Set current year symbol - var d = new Date(); - var nYear = 0; - nYear = d.getFullYear(); - if(nYear >= 2003) - wizard.AddSymbol("WTL_CURRENT_YEAR", nYear); - - // Set APPID and LIBID symbols for COM servers - if(wizard.FindSymbol("WTL_COM_SERVER")) - { - var strGuid = wizard.CreateGuid(); - var strVal = wizard.FormatGuid(strGuid, 0); - wizard.AddSymbol("WTL_APPID", strVal); - - strGuid = wizard.CreateGuid(); - strVal = wizard.FormatGuid(strGuid, 0); - wizard.AddSymbol("WTL_LIBID", strVal); - } - - // Set app type symbols - if (wizard.FindSymbol("WTL_APPTYPE_SDI") || wizard.FindSymbol("WTL_APPTYPE_MTSDI") || - wizard.FindSymbol("WTL_APPTYPE_TABVIEW") || wizard.FindSymbol("WTL_APPTYPE_EXPLORER")) - { - if (wizard.FindSymbol("WTL_USE_RIBBON")) - wizard.AddSymbol("WTL_FRAME_BASE_CLASS","CRibbonFrameWindowImpl"); - else - wizard.AddSymbol("WTL_FRAME_BASE_CLASS","CFrameWindowImpl"); - } - else if(wizard.FindSymbol("WTL_APPTYPE_MDI")) - { - wizard.AddSymbol("WTL_FRAME_BASE_CLASS", "CMDIFrameWindowImpl"); - wizard.AddSymbol("WTL_CHILD_FRAME_BASE_CLASS","CMDIChildWindowImpl"); - wizard.AddSymbol("WTL_USE_RIBBON", false); - } - else if(wizard.FindSymbol("WTL_APPTYPE_DLG")) - { - wizard.AddSymbol("WTL_MAINDLG_CLASS","CMainDlg"); - if(wizard.FindSymbol("WTL_ENABLE_AX")) - wizard.AddSymbol("WTL_MAINDLG_BASE_CLASS", "CAxDialogImpl"); - else - wizard.AddSymbol("WTL_MAINDLG_BASE_CLASS", "CDialogImpl"); - - wizard.AddSymbol("WTL_USE_RIBBON", false); - wizard.AddSymbol("WTL_USE_TOOLBAR", false); - wizard.AddSymbol("WTL_USE_REBAR", false); - wizard.AddSymbol("WTL_USE_CMDBAR", false); - wizard.AddSymbol("WTL_USE_STATUSBAR", false); - wizard.AddSymbol("WTL_USE_VIEW", false); - } - - if (wizard.FindSymbol("WTL_USE_RIBBON")) - { - if (wizard.FindSymbol("WTL_USE_TOOLBAR")) - { - wizard.AddSymbol("WTL_RIBBON_DUAL_UI", true); - wizard.AddSymbol("WTL_RIBBON_SINGLE_UI", false); - } - else - { - wizard.AddSymbol("WTL_RIBBON_DUAL_UI", false); - wizard.AddSymbol("WTL_RIBBON_SINGLE_UI", true); - } - } - else - { - wizard.AddSymbol("WTL_RIBBON_DUAL_UI", false); - wizard.AddSymbol("WTL_RIBBON_SINGLE_UI", false); - } - - // Set view symbols - if(wizard.FindSymbol("WTL_USE_VIEW")) - { - var strViewFile = strProjectName + "View"; - wizard.AddSymbol("WTL_VIEW_FILE", strViewFile); - - var strViewClass = "C" + wizard.FindSymbol("NICE_SAFE_PROJECT_NAME") + "View"; - wizard.AddSymbol("WTL_VIEW_CLASS", strViewClass); - - wizard.AddSymbol("WTL_VIEWTYPE_GENERIC", false); - var strView = wizard.FindSymbol("WTL_COMBO_VIEW_TYPE"); - switch(strView) - { - case "WTL_VIEWTYPE_FORM": - wizard.AddSymbol("WTL_VIEWTYPE_FORM", true); - if(wizard.FindSymbol("WTL_ENABLE_AX") && wizard.FindSymbol("WTL_HOST_AX")) - wizard.AddSymbol("WTL_VIEW_BASE_CLASS", "CAxDialogImpl"); - else - wizard.AddSymbol("WTL_VIEW_BASE_CLASS", "CDialogImpl"); - break; - case "WTL_VIEWTYPE_LISTBOX": - wizard.AddSymbol("WTL_VIEWTYPE_LISTBOX", true); - wizard.AddSymbol("WTL_VIEW_BASE", "CListBox"); - wizard.AddSymbol("WTL_VIEW_STYLES", "WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | LBS_NOINTEGRALHEIGHT | LBS_NOTIFY | LBS_WANTKEYBOARDINPUT"); - break; - case "WTL_VIEWTYPE_EDIT": - wizard.AddSymbol("WTL_VIEWTYPE_EDIT", true); - wizard.AddSymbol("WTL_VIEW_BASE", "CEdit"); - wizard.AddSymbol("WTL_VIEW_STYLES", "WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_HSCROLL | WS_VSCROLL | ES_AUTOHSCROLL | ES_AUTOVSCROLL | ES_MULTILINE | ES_NOHIDESEL"); - break; - case "WTL_VIEWTYPE_LISTVIEW": - wizard.AddSymbol("WTL_VIEWTYPE_LISTVIEW", true); - wizard.AddSymbol("WTL_VIEW_BASE", "CListViewCtrl"); - wizard.AddSymbol("WTL_VIEW_STYLES", "WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | LVS_REPORT | LVS_SHOWSELALWAYS"); - break; - case "WTL_VIEWTYPE_TREEVIEW": - wizard.AddSymbol("WTL_VIEWTYPE_TREEVIEW", true); - wizard.AddSymbol("WTL_VIEW_BASE", "CTreeViewCtrl"); - wizard.AddSymbol("WTL_VIEW_STYLES", "WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | TVS_HASLINES | TVS_LINESATROOT | TVS_SHOWSELALWAYS"); - break; - case "WTL_VIEWTYPE_RICHEDIT": - wizard.AddSymbol("WTL_VIEWTYPE_RICHEDIT", true); - wizard.AddSymbol("WTL_VIEW_BASE", "CRichEditCtrl"); - wizard.AddSymbol("WTL_VIEW_STYLES", "WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_HSCROLL | WS_VSCROLL | ES_AUTOHSCROLL | ES_AUTOVSCROLL | ES_MULTILINE | ES_NOHIDESEL | ES_SAVESEL"); - break; - case "WTL_VIEWTYPE_HTML": - wizard.AddSymbol("WTL_VIEWTYPE_HTML", true); - wizard.AddSymbol("WTL_VIEW_BASE", "CAxWindow"); - wizard.AddSymbol("WTL_ENABLE_AX", true); - wizard.AddSymbol("WTL_VIEW_STYLES", "WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_HSCROLL | WS_VSCROLL"); - break; - case "WTL_VIEWTYPE_SCROLL": - wizard.AddSymbol("WTL_VIEWTYPE_SCROLL", true); - wizard.AddSymbol("WTL_VIEW_BASE_CLASS", "CScrollWindowImpl"); - wizard.AddSymbol("WTL_VIEW_STYLES", "WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_HSCROLL | WS_VSCROLL"); - break; - default: - wizard.AddSymbol("WTL_VIEWTYPE_GENERIC", true); - break; - } - - if(wizard.FindSymbol("WTL_APPTYPE_TABVIEW")) - wizard.AddSymbol("WTL_VIEW_EX_STYLES", "0"); - } - - // Create project and configurations - // Allen K, using default project creator - //selProj = CreateCustomProject(strProjectName, strProjectPath); - selProj = CreateProject(strProjectName, strProjectPath); - // Allen K, add keywords for the project - selProj.Object.Keyword = "WtlProj"; - AddConfigurations(selProj, strProjectName); - AddFilters(selProj); - - var InfFile = CreateCustomInfFile(); - AddFilesToCustomProj(selProj, strProjectName, strProjectPath, InfFile); - AddPchSettings(selProj); - - if (wizard.FindSymbol("WTL_USE_RIBBON")) - AddRibbonSettings(selProj); - - InfFile.Delete(); - - selProj.Object.Save(); - - // Open resource editor if not VS2005 Express - if(!wizard.FindSymbol('VC_EXPRESS')) - { - if(wizard.FindSymbol("WTL_APPTYPE_DLG")) - { - var ResHelper = wizard.ResourceHelper; - ResHelper.OpenResourceFile(strProjectPath + "\\" + strProjectName + ".rc"); - ResHelper.OpenResourceInEditor("DIALOG", "IDD_MAINDLG"); - ResHelper.CloseResourceFile(); - } - else if(wizard.FindSymbol("WTL_USE_VIEW") && wizard.FindSymbol("WTL_VIEWTYPE_FORM")) - { - var strDialogID = "IDD_" + wizard.FindSymbol("UPPERCASE_SAFE_PROJECT_NAME") + "_FORM"; - var ResHelper = wizard.ResourceHelper; - ResHelper.OpenResourceFile(strProjectPath + "\\" + strProjectName + ".rc"); - ResHelper.OpenResourceInEditor("DIALOG", strDialogID); - ResHelper.CloseResourceFile(); - } - } - } - catch(e) - { - if (e.description.length != 0) - SetErrorInfo(e); - return e.number - } -} - -function CreateCustomProject(strProjectName, strProjectPath) -{ - try - { - var strProjTemplatePath = wizard.FindSymbol('PROJECT_TEMPLATE_PATH'); - var strProjTemplate = ''; - var WizardVersion = wizard.FindSymbol('WIZARD_VERSION'); - if(WizardVersion >= 10.0) - strProjTemplate = strProjTemplatePath + '\\default.vcxproj'; - else - strProjTemplate = strProjTemplatePath + '\\default.vcproj'; - - var Solution = dte.Solution; - var strSolutionName = ""; - if (wizard.FindSymbol("CLOSE_SOLUTION")) - { - Solution.Close(); - strSolutionName = wizard.FindSymbol("VS_SOLUTION_NAME"); - if (strSolutionName.length) - { - var strSolutionPath = strProjectPath.substr(0, strProjectPath.length - strProjectName.length); - Solution.Create(strSolutionPath, strSolutionName); - } - } - - var strProjectNameWithExt = ''; - if(WizardVersion >= 10.0) - strProjectNameWithExt = strProjectName + '.vcxproj'; - else - strProjectNameWithExt = strProjectName + '.vcproj'; - - var oTarget = wizard.FindSymbol("TARGET"); - var prj; - if (wizard.FindSymbol("WIZARD_TYPE") == vsWizardAddSubProject) // vsWizardAddSubProject - { - var prjItem = oTarget.AddFromTemplate(strProjTemplate, strProjectNameWithExt); - prj = prjItem.SubProject; - } - else - { - prj = oTarget.AddFromTemplate(strProjTemplate, strProjectPath, strProjectNameWithExt); - } - return prj; - } - catch(e) - { - throw e; - } -} - -function AddFilters(proj) -{ - try - { - // Add the folders to your project - var strSrcFilter = wizard.FindSymbol('SOURCE_FILTER'); - var group = proj.Object.AddFilter('Source Files'); - group.Filter = strSrcFilter; - - strSrcFilter = wizard.FindSymbol('INCLUDE_FILTER'); - group = proj.Object.AddFilter('Header Files'); - group.Filter = strSrcFilter; - - strSrcFilter = wizard.FindSymbol('RESOURCE_FILTER'); - group = proj.Object.AddFilter('Resource Files'); - group.Filter = strSrcFilter; - } - catch(e) - { - throw e; - } -} - -function AddConfigurations(proj, strProjectName) -{ - try - { - for(var i = 0; i < proj.Object.Configurations.Count; i++) - { - var config = proj.Object.Configurations.Item(i + 1); - - // Check if it's Debug configuration - var bDebug = (config.ConfigurationName.search("Debug") != -1); - - // General settings - if(wizard.FindSymbol("WTL_USE_UNICODE")) - config.CharacterSet = charSetUnicode; - else - config.CharacterSet = charSetMBCS; - - var WizardVersion = wizard.FindSymbol('WIZARD_VERSION'); - if(bDebug) - { - if(WizardVersion < 8.0) - { - config.IntermediateDirectory = 'Debug'; - config.OutputDirectory = 'Debug'; - } - - config.ATLMinimizesCRunTimeLibraryUsage = false; - } - else - { - if(WizardVersion < 8.0) - { - config.IntermediateDirectory = 'Release'; - config.OutputDirectory = 'Release'; - } - - config.ATLMinimizesCRunTimeLibraryUsage = true; - } - - if(wizard.FindSymbol("WTL_USE_VIEW") && wizard.FindSymbol("WTL_COMBO_VIEW_TYPE") == "WTL_VIEWTYPE_HTML") - config.UseOfATL = useATLDynamic; - - // Compiler settings - var CLTool = config.Tools('VCCLCompilerTool'); - CLTool.UsePrecompiledHeader = pchUseUsingSpecific; - CLTool.WarningLevel = warningLevel_3; - if(bDebug) - { - CLTool.RuntimeLibrary = rtMultiThreadedDebug; - CLTool.MinimalRebuild = true; - CLTool.DebugInformationFormat = debugEditAndContinue; - CLTool.BasicRuntimeChecks = runtimeBasicCheckAll; - CLTool.Optimization = optimizeDisabled; - } - else - { - CLTool.RuntimeLibrary = rtMultiThreaded; - CLTool.ExceptionHandling = false; - CLTool.DebugInformationFormat = debugDisabled; - } - - var strDefines = GetPlatformDefine(config); - strDefines += "_WINDOWS;STRICT;"; - if(bDebug) - strDefines += "_DEBUG"; - else - strDefines += "NDEBUG"; - CLTool.PreprocessorDefinitions = strDefines; - - // Linker settings - var LinkTool = config.Tools('VCLinkerTool'); - LinkTool.SubSystem = subSystemWindows; - if(bDebug) - { - LinkTool.LinkIncremental = linkIncrementalYes; - LinkTool.GenerateDebugInformation = true; - } - else - { - LinkTool.LinkIncremental = linkIncrementalNo; - } - - if (wizard.FindSymbol("WTL_USE_RIBBON")) - { - LinkTool.DelayLoadDLLs = "propsys.dll;dwmapi.dll"; - } - - // Resource settings - var RCTool = config.Tools("VCResourceCompilerTool"); - RCTool.Culture = rcEnglishUS; - RCTool.AdditionalIncludeDirectories = "$(IntDir)"; - if(bDebug) - RCTool.PreprocessorDefinitions = "_DEBUG"; - else - RCTool.PreprocessorDefinitions = "NDEBUG"; - - // MIDL settings - var MidlTool = config.Tools("VCMidlTool"); - MidlTool.MkTypLibCompatible = false; - if(IsPlatformWin32(config)) - MidlTool.TargetEnvironment = midlTargetWin32; - if(bDebug) - MidlTool.PreprocessorDefinitions = "_DEBUG"; - else - MidlTool.PreprocessorDefinitions = "NDEBUG"; - MidlTool.HeaderFileName = strProjectName + ".h"; - MidlTool.InterfaceIdentifierFileName = strProjectName + "_i.c"; - MidlTool.ProxyFileName = strProjectName + "_p.c"; - MidlTool.GenerateStublessProxies = true; - MidlTool.TypeLibraryName = "$(IntDir)/" + strProjectName + ".tlb"; - MidlTool.DLLDataFileName = ""; - - // Post-build settings - if(wizard.FindSymbol('WTL_COM_SERVER')) - { - var PostBuildTool = config.Tools("VCPostBuildEventTool"); - PostBuildTool.Description = "Performing registration..."; - PostBuildTool.CommandLine = "\"$(TargetPath)\" /RegServer"; - } - } - } - catch(e) - { - throw e; - } -} - -function AddPchSettings(proj) -{ - try - { - var files = proj.Object.Files; - var fStdafx = files("StdAfx.cpp"); - - for(var i = 0; i < fStdafx.FileConfigurations.Count; i++) - { - var config = fStdafx.FileConfigurations.Item(i + 1); - config.Tool.UsePrecompiledHeader = pchCreateUsingSpecific; - } - } - catch(e) - { - throw e; - } -} - -function AddRibbonSettings(proj) -{ - try - { - var files = proj.Object.Files; - var fRibbon = files("Ribbon.xml"); - - for(var i = 0; i < fRibbon.FileConfigurations.Count; i++) - { - var config = fRibbon.FileConfigurations.Item(i + 1); - config.Tool.Description = "Compiling Ribbon.xml"; - config.Tool.CommandLine = "uicc Ribbon.xml Ribbon.bml /header:Ribbon.h /res:Ribbon.rc"; - config.Tool.Outputs = "Ribbon.bml;Ribbon.rc;Ribbon.h"; - } - } - catch(e) - { - throw e; - } -} - -function DelFile(fso, strWizTempFile) -{ - try - { - if (fso.FileExists(strWizTempFile)) - { - var tmpFile = fso.GetFile(strWizTempFile); - tmpFile.Delete(); - } - } - catch(e) - { - throw e; - } -} - -function CreateCustomInfFile() -{ - try - { - var fso, TemplatesFolder, TemplateFiles, strTemplate; - fso = new ActiveXObject('Scripting.FileSystemObject'); - - var TemporaryFolder = 2; - var tfolder = fso.GetSpecialFolder(TemporaryFolder); - - var strWizTempFile = tfolder.Path + "\\" + fso.GetTempName(); - - var strTemplatePath = wizard.FindSymbol('TEMPLATES_PATH'); - var strInfFile = strTemplatePath + '\\Templates.inf'; - wizard.RenderTemplate(strInfFile, strWizTempFile); - - var WizTempFile = fso.GetFile(strWizTempFile); - return WizTempFile; - } - catch(e) - { - throw e; - } -} - -function GetTargetName(strName, strProjectName) -{ - try - { - var strTarget = strName; - var strResPath = "res\\"; - - if(strName.substr(0, 4) == "root") - { - var nNameLen = strName.length; - if(strName == "root.ico" || strName == "rootDoc.ico" || strName == "root.exe.manifest") - { - strTarget = strResPath + strProjectName + strName.substr(4, nNameLen - 4); - } - else - { - strTarget = strProjectName + strName.substr(4, nNameLen - 4); - } - } - else if(strName == 'frame.h') - { - strTarget = 'MainFrm.h'; - } - else if(strName == 'frame.cpp') - { - strTarget = 'MainFrm.cpp'; - } - else if(strName == 'view.h') - { - strTarget = strProjectName + 'View.h'; - } - else if(strName == 'view.cpp') - { - strTarget = strProjectName + 'View.cpp'; - } - else if(strName == 'toolbar.bmp') - { - strTarget = strResPath + strName; - } - - return strTarget; - } - catch(e) - { - throw e; - } -} - -function AddFilesToCustomProj(proj, strProjectName, strProjectPath, InfFile) -{ - try - { - var projItems = proj.ProjectItems - - var strTemplatePath = wizard.FindSymbol('TEMPLATES_PATH'); - - var strTpl = ''; - var strName = ''; - - var strTextStream = InfFile.OpenAsTextStream(1, -2); - while (!strTextStream.AtEndOfStream) - { - strTpl = strTextStream.ReadLine(); - if (strTpl != '') - { - strName = strTpl; - var strTarget = GetTargetName(strName, strProjectName); - var strTemplate = strTemplatePath + '\\' + strTpl; - var strFile = strProjectPath + '\\' + strTarget; - - var bCopyOnly = false; //"true" will only copy the file from strTemplate to strTarget without rendering/adding to the project - var strExt = strName.substr(strName.lastIndexOf(".")); - if(strExt==".bmp" || strExt==".ico" || strExt==".gif" || strExt==".rtf" || strExt==".css") - bCopyOnly = true; - wizard.RenderTemplate(strTemplate, strFile, bCopyOnly); - - // don't add these files to the project - if(strTarget == strProjectName + ".h" || - strTarget == strProjectName + "ps.mk" || - strTarget == strProjectName + "ps.def") - continue; - - proj.Object.AddFile(strFile); - } - } - strTextStream.Close(); - } - catch(e) - { - throw e; - } -} diff --git a/AppWiz/Files_15/Templates/1033/AboutDlg.cpp b/AppWiz/Files_15/Templates/1033/AboutDlg.cpp deleted file mode 100644 index c1f285a..0000000 --- a/AppWiz/Files_15/Templates/1033/AboutDlg.cpp +++ /dev/null @@ -1,20 +0,0 @@ -// aboutdlg.cpp : implementation of the CAboutDlg class -// -///////////////////////////////////////////////////////////////////////////// - -#include "stdafx.h" -#include "resource.h" - -#include "aboutdlg.h" - -LRESULT CAboutDlg::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) -{ - CenterWindow(GetParent()); - return TRUE; -} - -LRESULT CAboutDlg::OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - EndDialog(wID); - return 0; -} diff --git a/AppWiz/Files_15/Templates/1033/AboutDlg.h b/AppWiz/Files_15/Templates/1033/AboutDlg.h deleted file mode 100644 index cca6b55..0000000 --- a/AppWiz/Files_15/Templates/1033/AboutDlg.h +++ /dev/null @@ -1,42 +0,0 @@ -// aboutdlg.h : interface of the CAboutDlg class -// -///////////////////////////////////////////////////////////////////////////// - -#pragma once - -class CAboutDlg : public CDialogImpl -{ -public: - enum { IDD = IDD_ABOUTBOX }; - - BEGIN_MSG_MAP(CAboutDlg) - MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog) - COMMAND_ID_HANDLER(IDOK, OnCloseCmd) - COMMAND_ID_HANDLER(IDCANCEL, OnCloseCmd) - END_MSG_MAP() - -// Handler prototypes (uncomment arguments if needed): -// LRESULT MessageHandler(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) -// LRESULT CommandHandler(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -// LRESULT NotifyHandler(int /*idCtrl*/, LPNMHDR /*pnmh*/, BOOL& /*bHandled*/) - -[!if WTL_USE_CPP_FILES] - LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/); -[!else] - LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) - { - CenterWindow(GetParent()); - return TRUE; - } - -[!endif] -[!if WTL_USE_CPP_FILES] - LRESULT OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/); -[!else] - LRESULT OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) - { - EndDialog(wID); - return 0; - } -[!endif] -}; diff --git a/AppWiz/Files_15/Templates/1033/Frame.cpp b/AppWiz/Files_15/Templates/1033/Frame.cpp deleted file mode 100644 index 1152e68..0000000 --- a/AppWiz/Files_15/Templates/1033/Frame.cpp +++ /dev/null @@ -1,436 +0,0 @@ -// [!output WTL_FRAME_FILE].cpp : implmentation of the [!output WTL_FRAME_CLASS] class -// -///////////////////////////////////////////////////////////////////////////// - -#include "stdafx.h" -[!if WTL_USE_RIBBON] -#include "Ribbon.h" -[!endif] -#include "resource.h" - -#include "aboutdlg.h" -[!if WTL_USE_VIEW] -#include "[!output WTL_VIEW_FILE].h" -[!endif] -[!if WTL_APPTYPE_MDI] -#include "[!output WTL_CHILD_FRAME_FILE].h" -[!endif] -#include "[!output WTL_FRAME_FILE].h" - -BOOL [!output WTL_FRAME_CLASS]::PreTranslateMessage(MSG* pMsg) -{ -[!if WTL_APPTYPE_MDI] - if([!output WTL_FRAME_BASE_CLASS]<[!output WTL_FRAME_CLASS]>::PreTranslateMessage(pMsg)) - return TRUE; - - HWND hWnd = MDIGetActive(); - if(hWnd != NULL) - return (BOOL)::SendMessage(hWnd, WM_FORWARDMSG, 0, (LPARAM)pMsg); - - return FALSE; -[!else] -[!if WTL_USE_VIEW] - if([!output WTL_FRAME_BASE_CLASS]<[!output WTL_FRAME_CLASS]>::PreTranslateMessage(pMsg)) - return TRUE; - - return m_view.PreTranslateMessage(pMsg); -[!else] - return [!output WTL_FRAME_BASE_CLASS]<[!output WTL_FRAME_CLASS]>::PreTranslateMessage(pMsg); -[!endif] -[!endif] -} - -BOOL [!output WTL_FRAME_CLASS]::OnIdle() -{ -[!if WTL_USE_TOOLBAR] - UIUpdateToolBar(); -[!endif] - return FALSE; -} - -LRESULT [!output WTL_FRAME_CLASS]::OnCreate(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) -{ -[!if WTL_RIBBON_DUAL_UI] - bool bRibbonUI = RunTimeHelper::IsRibbonUIAvailable(); - if (bRibbonUI) - UIAddMenu(GetMenu(), true); - else - CMenuHandle(GetMenu()).DeleteMenu(ID_VIEW_RIBBON, MF_BYCOMMAND); - -[!else] -[!if WTL_RIBBON_SINGLE_UI] - UIAddMenu(GetMenu(), true); -[!endif] -[!endif] -[!if WTL_USE_RIBBON && !WTL_USE_CMDBAR] - m_CmdBar.Create(m_hWnd, rcDefault, NULL, WS_CHILD); - m_CmdBar.AttachMenu(GetMenu()); - m_CmdBar.LoadImages(IDR_MAINFRAME); - -[!endif] -[!if WTL_USE_TOOLBAR] -[!if WTL_USE_REBAR] -[!if WTL_USE_CMDBAR] - // create command bar window - HWND hWndCmdBar = m_CmdBar.Create(m_hWnd, rcDefault, NULL, ATL_SIMPLE_CMDBAR_PANE_STYLE); - // attach menu - m_CmdBar.AttachMenu(GetMenu()); - // load command bar images - m_CmdBar.LoadImages(IDR_MAINFRAME); - // remove old menu - SetMenu(NULL); - -[!endif] - HWND hWndToolBar = CreateSimpleToolBarCtrl(m_hWnd, IDR_MAINFRAME, FALSE, ATL_SIMPLE_TOOLBAR_PANE_STYLE); - - CreateSimpleReBar(ATL_SIMPLE_REBAR_NOBORDER_STYLE); -[!if WTL_USE_CMDBAR] - AddSimpleReBarBand(hWndCmdBar); - AddSimpleReBarBand(hWndToolBar, NULL, TRUE); -[!else] - AddSimpleReBarBand(hWndToolBar); -[!endif] -[!else] - CreateSimpleToolBar(); -[!endif] -[!endif] -[!if WTL_USE_STATUSBAR] - - CreateSimpleStatusBar(); -[!endif] -[!if WTL_APPTYPE_MDI] - - CreateMDIClient(); -[!if WTL_USE_CMDBAR] - m_CmdBar.SetMDIClient(m_hWndMDIClient); -[!endif] -[!endif] -[!if WTL_APPTYPE_SDI || WTL_APPTYPE_MTSDI] -[!if WTL_USE_VIEW] -[!if WTL_VIEWTYPE_FORM] - - m_hWndClient = m_view.Create(m_hWnd); -[!else] -[!if WTL_VIEWTYPE_HTML] - - //TODO: Replace with a URL of your choice - m_hWndClient = m_view.Create(m_hWnd, rcDefault, _T("http://www.microsoft.com"), [!output WTL_VIEW_STYLES], [!output WTL_VIEW_EX_STYLES]); -[!else] - - m_hWndClient = m_view.Create(m_hWnd, rcDefault, NULL, [!output WTL_VIEW_STYLES], [!output WTL_VIEW_EX_STYLES]); -[!endif] -[!if WTL_VIEWTYPE_LISTBOX || WTL_VIEWTYPE_EDIT || WTL_VIEWTYPE_RICHEDIT] - m_font = AtlCreateControlFont(); - m_view.SetFont(m_font); -[!endif] -[!if WTL_VIEWTYPE_SCROLL] - // replace with appropriate values for the app - m_view.SetScrollSize(2000, 1000); -[!endif] -[!endif] -[!endif] -[!endif] -[!if WTL_APPTYPE_TABVIEW] - - m_hWndClient = m_view.Create(m_hWnd, rcDefault, NULL, WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, WS_EX_CLIENTEDGE); -[!endif] -[!if WTL_APPTYPE_EXPLORER] - - m_hWndClient = m_splitter.Create(m_hWnd, rcDefault, NULL, WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN); - - m_pane.SetPaneContainerExtendedStyle(PANECNT_NOBORDER); - m_pane.Create(m_splitter, _T("Tree"), WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN); - m_treeview.Create(m_pane, rcDefault, NULL, WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | TVS_HASLINES | TVS_LINESATROOT | TVS_HASBUTTONS | TVS_SHOWSELALWAYS, WS_EX_CLIENTEDGE); - m_pane.SetClient(m_treeview); -[!if WTL_VIEWTYPE_FORM] - - m_view.Create(m_splitter); -[!else] -[!if WTL_VIEWTYPE_HTML] - - //TODO: Replace with a URL of your choice - m_view.Create(m_splitter, rcDefault, _T("http://www.microsoft.com"), [!output WTL_VIEW_STYLES], [!output WTL_VIEW_EX_STYLES]); -[!else] - - m_view.Create(m_splitter, rcDefault, NULL, [!output WTL_VIEW_STYLES], [!output WTL_VIEW_EX_STYLES]); -[!endif] -[!if WTL_VIEWTYPE_LISTBOX || WTL_VIEWTYPE_EDIT || WTL_VIEWTYPE_RICHEDIT] - m_font = AtlCreateControlFont(); - m_view.SetFont(m_font); -[!endif] -[!if WTL_VIEWTYPE_SCROLL] - // replace with appropriate values for the app - m_view.SetScrollSize(2000, 1000); -[!endif] -[!endif] - - m_splitter.SetSplitterPanes(m_pane, m_view); - UpdateLayout(); - m_splitter.SetSplitterPosPct(25); -[!endif] -[!if WTL_USE_TOOLBAR] -[!if WTL_USE_REBAR] - - UIAddToolBar(hWndToolBar); -[!else] - - UIAddToolBar(m_hWndToolBar); -[!endif] - UISetCheck(ID_VIEW_TOOLBAR, 1); -[!endif] -[!if WTL_USE_STATUSBAR] - UISetCheck(ID_VIEW_STATUS_BAR, 1); -[!endif] -[!if WTL_APPTYPE_EXPLORER] - UISetCheck(ID_VIEW_TREEPANE, 1); -[!endif] - - // register object for message filtering and idle updates - CMessageLoop* pLoop = _Module.GetMessageLoop(); - ATLASSERT(pLoop != NULL); - pLoop->AddMessageFilter(this); - pLoop->AddIdleHandler(this); - -[!if WTL_USE_RIBBON] -[!if WTL_RIBBON_SINGLE_UI] - ShowRibbonUI(true); - -[!else] - ShowRibbonUI(bRibbonUI); - UISetCheck(ID_VIEW_RIBBON, bRibbonUI); - -[!endif] -[!endif] -[!if WTL_APPTYPE_TABVIEW] -[!if WTL_USE_CMDBAR] - CMenuHandle menuMain = m_CmdBar.GetMenu(); -[!else] - CMenuHandle menuMain = GetMenu(); -[!endif] - m_view.SetWindowMenu(menuMain.GetSubMenu(WINDOW_MENU_POSITION)); - -[!endif] - return 0; -} - -[!if WTL_COM_SERVER] -LRESULT [!output WTL_FRAME_CLASS]::OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) -{ -[!if WTL_APPTYPE_MDI] -[!if WTL_USE_CMDBAR] - m_CmdBar.AttachMenu(NULL); - -[!endif] -[!endif] - // unregister message filtering and idle updates - CMessageLoop* pLoop = _Module.GetMessageLoop(); - ATLASSERT(pLoop != NULL); - pLoop->RemoveMessageFilter(this); - pLoop->RemoveIdleHandler(this); - - // if UI is the last thread, no need to wait - if(_Module.GetLockCount() == 1) - { - _Module.m_dwTimeOut = 0L; - _Module.m_dwPause = 0L; - } - _Module.Unlock(); - -[!if WTL_APPTYPE_MTSDI] - ::PostQuitMessage(1); - -[!endif] - return 0; -} - -[!else] -LRESULT [!output WTL_FRAME_CLASS]::OnDestroy(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled) -{ -[!if WTL_APPTYPE_MDI] -[!if WTL_USE_CMDBAR] - m_CmdBar.AttachMenu(NULL); - -[!endif] -[!endif] - // unregister message filtering and idle updates - CMessageLoop* pLoop = _Module.GetMessageLoop(); - ATLASSERT(pLoop != NULL); - pLoop->RemoveMessageFilter(this); - pLoop->RemoveIdleHandler(this); - - bHandled = FALSE; - return 1; -} - -[!endif] -LRESULT [!output WTL_FRAME_CLASS]::OnFileExit(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - PostMessage(WM_CLOSE); - return 0; -} - -LRESULT [!output WTL_FRAME_CLASS]::OnFileNew(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ -[!if WTL_APPTYPE_TABVIEW] - [!output WTL_VIEW_CLASS]* pView = new [!output WTL_VIEW_CLASS]; -[!if WTL_VIEWTYPE_FORM] - pView->Create(m_view); -[!else] -[!if WTL_VIEWTYPE_HTML] - //TODO: Replace with a URL of your choice - pView->Create(m_view, rcDefault, _T("http://www.microsoft.com"), [!output WTL_VIEW_STYLES], [!output WTL_VIEW_EX_STYLES]); -[!else] - pView->Create(m_view, rcDefault, NULL, [!output WTL_VIEW_STYLES], [!output WTL_VIEW_EX_STYLES]); -[!endif] -[!if WTL_VIEWTYPE_LISTBOX || WTL_VIEWTYPE_EDIT || WTL_VIEWTYPE_RICHEDIT] - pView->SetFont(m_font); -[!endif] -[!if WTL_VIEWTYPE_SCROLL] - // replace with appropriate values for the app - pView->SetScrollSize(2000, 1000); -[!endif] -[!endif] - m_view.AddPage(pView->m_hWnd, _T("Document")); - -[!endif] -[!if WTL_APPTYPE_MDI] - [!output WTL_CHILD_FRAME_CLASS]* pChild = new [!output WTL_CHILD_FRAME_CLASS]; - pChild->CreateEx(m_hWndClient); - -[!endif] - // TODO: add code to initialize document - - return 0; -} - -[!if WTL_APPTYPE_MTSDI] -LRESULT [!output WTL_FRAME_CLASS]::OnFileNewWindow(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - ::PostThreadMessage(_Module.m_dwMainThreadID, WM_USER, 0, 0L); - return 0; -} - -[!endif] -[!if WTL_USE_TOOLBAR] -LRESULT [!output WTL_FRAME_CLASS]::OnViewToolBar(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ -[!if WTL_USE_REBAR] - static BOOL bVisible = TRUE; // initially visible - bVisible = !bVisible; - CReBarCtrl rebar = m_hWndToolBar; -[!if WTL_USE_CMDBAR] - int nBandIndex = rebar.IdToIndex(ATL_IDW_BAND_FIRST + 1); // toolbar is 2nd added band -[!else] - int nBandIndex = rebar.IdToIndex(ATL_IDW_BAND_FIRST); // toolbar is first 1st band -[!endif] - rebar.ShowBand(nBandIndex, bVisible); -[!else] - BOOL bVisible = !::IsWindowVisible(m_hWndToolBar); - ::ShowWindow(m_hWndToolBar, bVisible ? SW_SHOWNOACTIVATE : SW_HIDE); -[!endif] - UISetCheck(ID_VIEW_TOOLBAR, bVisible); - UpdateLayout(); - return 0; -} - -[!endif] -[!if WTL_USE_STATUSBAR] -LRESULT [!output WTL_FRAME_CLASS]::OnViewStatusBar(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - BOOL bVisible = !::IsWindowVisible(m_hWndStatusBar); - ::ShowWindow(m_hWndStatusBar, bVisible ? SW_SHOWNOACTIVATE : SW_HIDE); - UISetCheck(ID_VIEW_STATUS_BAR, bVisible); - UpdateLayout(); - return 0; -} - -[!endif] -[!if WTL_RIBBON_DUAL_UI] -LRESULT [!output WTL_FRAME_CLASS]::OnViewRibbon(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - ShowRibbonUI(!IsRibbonUI()); - UISetCheck(ID_VIEW_RIBBON, IsRibbonUI()); -[!if !WTL_USE_CMDBAR] - if (!IsRibbonUI()) - SetMenu(AtlLoadMenu(IDR_MAINFRAME)); -[!endif] - return 0; -} - -[!endif] -LRESULT [!output WTL_FRAME_CLASS]::OnAppAbout(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - CAboutDlg dlg; - dlg.DoModal(); - return 0; -} -[!if WTL_APPTYPE_MDI] - -LRESULT [!output WTL_FRAME_CLASS]::OnWindowCascade(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - MDICascade(); - return 0; -} - -LRESULT [!output WTL_FRAME_CLASS]::OnWindowTile(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - MDITile(); - return 0; -} - -LRESULT [!output WTL_FRAME_CLASS]::OnWindowArrangeIcons(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - MDIIconArrange(); - return 0; -} -[!endif] -[!if WTL_APPTYPE_TABVIEW] - -LRESULT [!output WTL_FRAME_CLASS]::OnWindowClose(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - int nActivePage = m_view.GetActivePage(); - if(nActivePage != -1) - m_view.RemovePage(nActivePage); - else - ::MessageBeep((UINT)-1); - - return 0; -} - -LRESULT [!output WTL_FRAME_CLASS]::OnWindowCloseAll(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - m_view.RemoveAllPages(); - - return 0; -} - -LRESULT [!output WTL_FRAME_CLASS]::OnWindowActivate(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - int nPage = wID - ID_WINDOW_TABFIRST; - m_view.SetActivePage(nPage); - - return 0; -} -[!endif] -[!if WTL_APPTYPE_EXPLORER] - -LRESULT [!output WTL_FRAME_CLASS]::OnViewTreePane(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) -{ - bool bShow = (m_splitter.GetSinglePaneMode() != SPLIT_PANE_NONE); - m_splitter.SetSinglePaneMode(bShow ? SPLIT_PANE_NONE : SPLIT_PANE_RIGHT); - UISetCheck(ID_VIEW_TREEPANE, bShow); - - return 0; -} - -LRESULT [!output WTL_FRAME_CLASS]::OnTreePaneClose(WORD /*wNotifyCode*/, WORD /*wID*/, HWND hWndCtl, BOOL& /*bHandled*/) -{ - if(hWndCtl == m_pane.m_hWnd) - { - m_splitter.SetSinglePaneMode(SPLIT_PANE_RIGHT); - UISetCheck(ID_VIEW_TREEPANE, 0); - } - - return 0; -} -[!endif] diff --git a/AppWiz/Files_15/Templates/1033/ReadMe.txt b/AppWiz/Files_15/Templates/1033/ReadMe.txt deleted file mode 100644 index 49c6536..0000000 --- a/AppWiz/Files_15/Templates/1033/ReadMe.txt +++ /dev/null @@ -1,18 +0,0 @@ -======================================================================== - Windows Template Library : "[!output PROJECT_NAME]" Project Overview -======================================================================== - -The ATL/WTL Application Wizard has created this "[!output PROJECT_NAME]" project for you as a starting point. - -This file contains a summary of what you will find in each of the files that make up your project. - -WTLApp70.vcproj - This is the main project file for projects generated using an Application Wizard. - It contains information about the version of the product that generated the file, and - information about the platforms, configurations, and project features selected with the - Application Wizard. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -///////////////////////////////////////////////////////////////////////////// diff --git a/AppWiz/Files_15/Templates/1033/Ribbon.h b/AppWiz/Files_15/Templates/1033/Ribbon.h deleted file mode 100644 index 61d82c4..0000000 --- a/AppWiz/Files_15/Templates/1033/Ribbon.h +++ /dev/null @@ -1,39 +0,0 @@ -// ***************************************************************************** -// * This is an automatically generated header file for UI Element definition * -// * resource symbols and values. Please do not modify manually. * -// ***************************************************************************** - -#pragma once - -#define ID_FILE_NEW 0xE100 -#define ID_FILE_OPEN 0xE101 -#define ID_FILE_CLOSE 0xE102 -#define ID_FILE_SAVE 0xE103 -#define ID_FILE_SAVE_AS 0xE104 -#define ID_FILE_PAGE_SETUP 0xE105 -#define ID_FILE_PRINT_SETUP 0xE106 -#define ID_FILE_PRINT 0xE107 -#define ID_FILE_PRINT_DIRECT 0xE108 -#define ID_FILE_PRINT_PREVIEW 0xE109 -#define ID_EDIT_COPY 0xE122 -#define ID_EDIT_CUT 0xE123 -#define ID_EDIT_FIND 0xE124 -#define ID_EDIT_PASTE 0xE125 -#define ID_EDIT_SELECT_ALL 0xE12A -#define ID_EDIT_UNDO 0xE12B -#define ID_EDIT_REDO 0xE12C -#define ID_VIEW_TOOLBAR 0xE800 -#define ID_VIEW_STATUS_BAR 0xE801 -#define ID_VIEW_RIBBON 0xE804 -#define ID_APP_ABOUT 0xE140 -#define ID_APP_EXIT 0xE141 -#define ID_TAB_HOME 2 -#define ID_TAB_HOME_LabelTitle_RESID 60001 -#define ID_GROUP_CLIPBOARD 3 -#define ID_GROUP_CLIPBOARD_LabelTitle_RESID 60002 -#define ID_GROUP_VIEW 4 -#define ID_GROUP_VIEW_LabelTitle_RESID 60003 -#define ID_RIBBON_APP_MENU 5 -#define ID_SAVEMORE 6 -#define ID_PRINTMORE 7 -#define ID_RIBBON_QAT 8 diff --git a/AppWiz/Files_15/Templates/1033/Ribbon.xml b/AppWiz/Files_15/Templates/1033/Ribbon.xml deleted file mode 100644 index 028bc16..0000000 --- a/AppWiz/Files_15/Templates/1033/Ribbon.xml +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -