diff --git a/.gitignore b/.gitignore index f9d796c..17bd50c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,8 @@ ################################################################################ /build/ +/ipch/ *.opensdf *.sdf *.suo +*.aps diff --git a/GALex.sln b/GALex.sln index 8229732..33a70b1 100644 --- a/GALex.sln +++ b/GALex.sln @@ -25,60 +25,148 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "App9", "TestApps\App9\App9. EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "App10", "TestApps\App10\App10.vcxproj", "{CAE325D0-91AE-42C5-8056-65DAE2232E74}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "App11", "TestApps\App11\App11.vcxproj", "{719AFAAC-E867-4186-B08C-0DC80A65BE8D}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|Mixed Platforms = Debug|Mixed Platforms Debug|Win32 = Debug|Win32 + Release|Any CPU = Release|Any CPU + Release|Mixed Platforms = Release|Mixed Platforms Release|Win32 = Release|Win32 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution + {55D67B0E-145C-4CDD-BC27-0DE87A86D821}.Debug|Any CPU.ActiveCfg = Debug|Win32 + {55D67B0E-145C-4CDD-BC27-0DE87A86D821}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {55D67B0E-145C-4CDD-BC27-0DE87A86D821}.Debug|Mixed Platforms.Build.0 = Debug|Win32 {55D67B0E-145C-4CDD-BC27-0DE87A86D821}.Debug|Win32.ActiveCfg = Debug|Win32 {55D67B0E-145C-4CDD-BC27-0DE87A86D821}.Debug|Win32.Build.0 = Debug|Win32 + {55D67B0E-145C-4CDD-BC27-0DE87A86D821}.Release|Any CPU.ActiveCfg = Release|Win32 + {55D67B0E-145C-4CDD-BC27-0DE87A86D821}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {55D67B0E-145C-4CDD-BC27-0DE87A86D821}.Release|Mixed Platforms.Build.0 = Release|Win32 {55D67B0E-145C-4CDD-BC27-0DE87A86D821}.Release|Win32.ActiveCfg = Release|Win32 {55D67B0E-145C-4CDD-BC27-0DE87A86D821}.Release|Win32.Build.0 = Release|Win32 + {460F0DAB-E24F-4015-89D2-7386F0A72141}.Debug|Any CPU.ActiveCfg = Debug|Win32 + {460F0DAB-E24F-4015-89D2-7386F0A72141}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {460F0DAB-E24F-4015-89D2-7386F0A72141}.Debug|Mixed Platforms.Build.0 = Debug|Win32 {460F0DAB-E24F-4015-89D2-7386F0A72141}.Debug|Win32.ActiveCfg = Debug|Win32 {460F0DAB-E24F-4015-89D2-7386F0A72141}.Debug|Win32.Build.0 = Debug|Win32 + {460F0DAB-E24F-4015-89D2-7386F0A72141}.Release|Any CPU.ActiveCfg = Release|Win32 + {460F0DAB-E24F-4015-89D2-7386F0A72141}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {460F0DAB-E24F-4015-89D2-7386F0A72141}.Release|Mixed Platforms.Build.0 = Release|Win32 {460F0DAB-E24F-4015-89D2-7386F0A72141}.Release|Win32.ActiveCfg = Release|Win32 {460F0DAB-E24F-4015-89D2-7386F0A72141}.Release|Win32.Build.0 = Release|Win32 + {BE217A8A-88CC-4169-B826-F6E311C2DE0B}.Debug|Any CPU.ActiveCfg = Debug|Win32 + {BE217A8A-88CC-4169-B826-F6E311C2DE0B}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {BE217A8A-88CC-4169-B826-F6E311C2DE0B}.Debug|Mixed Platforms.Build.0 = Debug|Win32 {BE217A8A-88CC-4169-B826-F6E311C2DE0B}.Debug|Win32.ActiveCfg = Debug|Win32 {BE217A8A-88CC-4169-B826-F6E311C2DE0B}.Debug|Win32.Build.0 = Debug|Win32 + {BE217A8A-88CC-4169-B826-F6E311C2DE0B}.Release|Any CPU.ActiveCfg = Release|Win32 + {BE217A8A-88CC-4169-B826-F6E311C2DE0B}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {BE217A8A-88CC-4169-B826-F6E311C2DE0B}.Release|Mixed Platforms.Build.0 = Release|Win32 {BE217A8A-88CC-4169-B826-F6E311C2DE0B}.Release|Win32.ActiveCfg = Release|Win32 {BE217A8A-88CC-4169-B826-F6E311C2DE0B}.Release|Win32.Build.0 = Release|Win32 + {A32AF66E-2A32-46DD-AACA-413BA01AAE39}.Debug|Any CPU.ActiveCfg = Debug|Win32 + {A32AF66E-2A32-46DD-AACA-413BA01AAE39}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {A32AF66E-2A32-46DD-AACA-413BA01AAE39}.Debug|Mixed Platforms.Build.0 = Debug|Win32 {A32AF66E-2A32-46DD-AACA-413BA01AAE39}.Debug|Win32.ActiveCfg = Debug|Win32 {A32AF66E-2A32-46DD-AACA-413BA01AAE39}.Debug|Win32.Build.0 = Debug|Win32 + {A32AF66E-2A32-46DD-AACA-413BA01AAE39}.Release|Any CPU.ActiveCfg = Release|Win32 + {A32AF66E-2A32-46DD-AACA-413BA01AAE39}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {A32AF66E-2A32-46DD-AACA-413BA01AAE39}.Release|Mixed Platforms.Build.0 = Release|Win32 {A32AF66E-2A32-46DD-AACA-413BA01AAE39}.Release|Win32.ActiveCfg = Release|Win32 {A32AF66E-2A32-46DD-AACA-413BA01AAE39}.Release|Win32.Build.0 = Release|Win32 + {C2497F96-8CEE-4775-B562-896921F1F824}.Debug|Any CPU.ActiveCfg = Debug|Win32 + {C2497F96-8CEE-4775-B562-896921F1F824}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {C2497F96-8CEE-4775-B562-896921F1F824}.Debug|Mixed Platforms.Build.0 = Debug|Win32 {C2497F96-8CEE-4775-B562-896921F1F824}.Debug|Win32.ActiveCfg = Debug|Win32 {C2497F96-8CEE-4775-B562-896921F1F824}.Debug|Win32.Build.0 = Debug|Win32 + {C2497F96-8CEE-4775-B562-896921F1F824}.Release|Any CPU.ActiveCfg = Release|Win32 + {C2497F96-8CEE-4775-B562-896921F1F824}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {C2497F96-8CEE-4775-B562-896921F1F824}.Release|Mixed Platforms.Build.0 = Release|Win32 {C2497F96-8CEE-4775-B562-896921F1F824}.Release|Win32.ActiveCfg = Release|Win32 {C2497F96-8CEE-4775-B562-896921F1F824}.Release|Win32.Build.0 = Release|Win32 + {9CD255F6-D00C-4F09-90E3-C57861544AD7}.Debug|Any CPU.ActiveCfg = Debug|Win32 + {9CD255F6-D00C-4F09-90E3-C57861544AD7}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {9CD255F6-D00C-4F09-90E3-C57861544AD7}.Debug|Mixed Platforms.Build.0 = Debug|Win32 {9CD255F6-D00C-4F09-90E3-C57861544AD7}.Debug|Win32.ActiveCfg = Debug|Win32 {9CD255F6-D00C-4F09-90E3-C57861544AD7}.Debug|Win32.Build.0 = Debug|Win32 + {9CD255F6-D00C-4F09-90E3-C57861544AD7}.Release|Any CPU.ActiveCfg = Release|Win32 + {9CD255F6-D00C-4F09-90E3-C57861544AD7}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {9CD255F6-D00C-4F09-90E3-C57861544AD7}.Release|Mixed Platforms.Build.0 = Release|Win32 {9CD255F6-D00C-4F09-90E3-C57861544AD7}.Release|Win32.ActiveCfg = Release|Win32 {9CD255F6-D00C-4F09-90E3-C57861544AD7}.Release|Win32.Build.0 = Release|Win32 + {3EC97573-15E0-47B2-87C5-1B15C7832960}.Debug|Any CPU.ActiveCfg = Debug|Win32 + {3EC97573-15E0-47B2-87C5-1B15C7832960}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {3EC97573-15E0-47B2-87C5-1B15C7832960}.Debug|Mixed Platforms.Build.0 = Debug|Win32 {3EC97573-15E0-47B2-87C5-1B15C7832960}.Debug|Win32.ActiveCfg = Debug|Win32 {3EC97573-15E0-47B2-87C5-1B15C7832960}.Debug|Win32.Build.0 = Debug|Win32 + {3EC97573-15E0-47B2-87C5-1B15C7832960}.Release|Any CPU.ActiveCfg = Release|Win32 + {3EC97573-15E0-47B2-87C5-1B15C7832960}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {3EC97573-15E0-47B2-87C5-1B15C7832960}.Release|Mixed Platforms.Build.0 = Release|Win32 {3EC97573-15E0-47B2-87C5-1B15C7832960}.Release|Win32.ActiveCfg = Release|Win32 {3EC97573-15E0-47B2-87C5-1B15C7832960}.Release|Win32.Build.0 = Release|Win32 + {93560795-9ABC-4748-A161-F9166987B4D4}.Debug|Any CPU.ActiveCfg = Debug|Win32 + {93560795-9ABC-4748-A161-F9166987B4D4}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {93560795-9ABC-4748-A161-F9166987B4D4}.Debug|Mixed Platforms.Build.0 = Debug|Win32 {93560795-9ABC-4748-A161-F9166987B4D4}.Debug|Win32.ActiveCfg = Debug|Win32 {93560795-9ABC-4748-A161-F9166987B4D4}.Debug|Win32.Build.0 = Debug|Win32 + {93560795-9ABC-4748-A161-F9166987B4D4}.Release|Any CPU.ActiveCfg = Release|Win32 + {93560795-9ABC-4748-A161-F9166987B4D4}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {93560795-9ABC-4748-A161-F9166987B4D4}.Release|Mixed Platforms.Build.0 = Release|Win32 {93560795-9ABC-4748-A161-F9166987B4D4}.Release|Win32.ActiveCfg = Release|Win32 {93560795-9ABC-4748-A161-F9166987B4D4}.Release|Win32.Build.0 = Release|Win32 + {954EC643-56AE-4187-864A-0E7259BD28DA}.Debug|Any CPU.ActiveCfg = Debug|Win32 + {954EC643-56AE-4187-864A-0E7259BD28DA}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {954EC643-56AE-4187-864A-0E7259BD28DA}.Debug|Mixed Platforms.Build.0 = Debug|Win32 {954EC643-56AE-4187-864A-0E7259BD28DA}.Debug|Win32.ActiveCfg = Debug|Win32 {954EC643-56AE-4187-864A-0E7259BD28DA}.Debug|Win32.Build.0 = Debug|Win32 + {954EC643-56AE-4187-864A-0E7259BD28DA}.Release|Any CPU.ActiveCfg = Release|Win32 + {954EC643-56AE-4187-864A-0E7259BD28DA}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {954EC643-56AE-4187-864A-0E7259BD28DA}.Release|Mixed Platforms.Build.0 = Release|Win32 {954EC643-56AE-4187-864A-0E7259BD28DA}.Release|Win32.ActiveCfg = Release|Win32 {954EC643-56AE-4187-864A-0E7259BD28DA}.Release|Win32.Build.0 = Release|Win32 + {F2A2ABB7-71C4-44E5-87B9-855E6DD907C7}.Debug|Any CPU.ActiveCfg = Debug|Win32 + {F2A2ABB7-71C4-44E5-87B9-855E6DD907C7}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {F2A2ABB7-71C4-44E5-87B9-855E6DD907C7}.Debug|Mixed Platforms.Build.0 = Debug|Win32 {F2A2ABB7-71C4-44E5-87B9-855E6DD907C7}.Debug|Win32.ActiveCfg = Debug|Win32 {F2A2ABB7-71C4-44E5-87B9-855E6DD907C7}.Debug|Win32.Build.0 = Debug|Win32 + {F2A2ABB7-71C4-44E5-87B9-855E6DD907C7}.Release|Any CPU.ActiveCfg = Release|Win32 + {F2A2ABB7-71C4-44E5-87B9-855E6DD907C7}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {F2A2ABB7-71C4-44E5-87B9-855E6DD907C7}.Release|Mixed Platforms.Build.0 = Release|Win32 {F2A2ABB7-71C4-44E5-87B9-855E6DD907C7}.Release|Win32.ActiveCfg = Release|Win32 {F2A2ABB7-71C4-44E5-87B9-855E6DD907C7}.Release|Win32.Build.0 = Release|Win32 + {9ABD62A9-55DE-4F24-92AE-6C9511358924}.Debug|Any CPU.ActiveCfg = Debug|Win32 + {9ABD62A9-55DE-4F24-92AE-6C9511358924}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {9ABD62A9-55DE-4F24-92AE-6C9511358924}.Debug|Mixed Platforms.Build.0 = Debug|Win32 {9ABD62A9-55DE-4F24-92AE-6C9511358924}.Debug|Win32.ActiveCfg = Debug|Win32 {9ABD62A9-55DE-4F24-92AE-6C9511358924}.Debug|Win32.Build.0 = Debug|Win32 + {9ABD62A9-55DE-4F24-92AE-6C9511358924}.Release|Any CPU.ActiveCfg = Release|Win32 + {9ABD62A9-55DE-4F24-92AE-6C9511358924}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {9ABD62A9-55DE-4F24-92AE-6C9511358924}.Release|Mixed Platforms.Build.0 = Release|Win32 {9ABD62A9-55DE-4F24-92AE-6C9511358924}.Release|Win32.ActiveCfg = Release|Win32 {9ABD62A9-55DE-4F24-92AE-6C9511358924}.Release|Win32.Build.0 = Release|Win32 + {CAE325D0-91AE-42C5-8056-65DAE2232E74}.Debug|Any CPU.ActiveCfg = Debug|Win32 + {CAE325D0-91AE-42C5-8056-65DAE2232E74}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {CAE325D0-91AE-42C5-8056-65DAE2232E74}.Debug|Mixed Platforms.Build.0 = Debug|Win32 {CAE325D0-91AE-42C5-8056-65DAE2232E74}.Debug|Win32.ActiveCfg = Debug|Win32 {CAE325D0-91AE-42C5-8056-65DAE2232E74}.Debug|Win32.Build.0 = Debug|Win32 + {CAE325D0-91AE-42C5-8056-65DAE2232E74}.Release|Any CPU.ActiveCfg = Release|Win32 + {CAE325D0-91AE-42C5-8056-65DAE2232E74}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {CAE325D0-91AE-42C5-8056-65DAE2232E74}.Release|Mixed Platforms.Build.0 = Release|Win32 {CAE325D0-91AE-42C5-8056-65DAE2232E74}.Release|Win32.ActiveCfg = Release|Win32 {CAE325D0-91AE-42C5-8056-65DAE2232E74}.Release|Win32.Build.0 = Release|Win32 + {719AFAAC-E867-4186-B08C-0DC80A65BE8D}.Debug|Any CPU.ActiveCfg = Debug|Win32 + {719AFAAC-E867-4186-B08C-0DC80A65BE8D}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {719AFAAC-E867-4186-B08C-0DC80A65BE8D}.Debug|Mixed Platforms.Build.0 = Debug|Win32 + {719AFAAC-E867-4186-B08C-0DC80A65BE8D}.Debug|Win32.ActiveCfg = Debug|Win32 + {719AFAAC-E867-4186-B08C-0DC80A65BE8D}.Debug|Win32.Build.0 = Debug|Win32 + {719AFAAC-E867-4186-B08C-0DC80A65BE8D}.Release|Any CPU.ActiveCfg = Release|Win32 + {719AFAAC-E867-4186-B08C-0DC80A65BE8D}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {719AFAAC-E867-4186-B08C-0DC80A65BE8D}.Release|Mixed Platforms.Build.0 = Release|Win32 + {719AFAAC-E867-4186-B08C-0DC80A65BE8D}.Release|Win32.ActiveCfg = Release|Win32 + {719AFAAC-E867-4186-B08C-0DC80A65BE8D}.Release|Win32.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/TestApps/App11/App11.cpp b/TestApps/App11/App11.cpp new file mode 100644 index 0000000..97a60b0 --- /dev/null +++ b/TestApps/App11/App11.cpp @@ -0,0 +1,146 @@ + +// App11.cpp : Defines the class behaviors for the application. +// + +#include "stdafx.h" +#include "afxwinappex.h" +#include "afxdialogex.h" +#include "App11.h" +#include "MainFrm.h" +#include "afxlinkctrl.h" + + +#ifdef _DEBUG +#define new DEBUG_NEW +#endif + + +// CApp11App + +BEGIN_MESSAGE_MAP(CApp11App, CWinApp) + ON_COMMAND(ID_APP_ABOUT, &CApp11App::OnAppAbout) +END_MESSAGE_MAP() + + +// CApp11App construction + +CApp11App::CApp11App() +{ + // TODO: replace application ID string below with unique ID string; recommended + // format for string is CompanyName.ProductName.SubProduct.VersionInformation + SetAppID(_T("App11.AppID.NoVersion")); + + // TODO: add construction code here, + // Place all significant initialization in InitInstance +} + +// The one and only CApp11App object + +CApp11App theApp; + + +// CApp11App initialization + +BOOL CApp11App::InitInstance() +{ + // InitCommonControlsEx() is required on Windows XP if an application + // manifest specifies use of ComCtl32.dll version 6 or later to enable + // visual styles. Otherwise, any window creation will fail. + INITCOMMONCONTROLSEX InitCtrls; + InitCtrls.dwSize = sizeof(InitCtrls); + // Set this to include all the common control classes you want to use + // in your application. + InitCtrls.dwICC = ICC_WIN95_CLASSES; + InitCommonControlsEx(&InitCtrls); + + CWinApp::InitInstance(); + + + EnableTaskbarInteraction(FALSE); + + // AfxInitRichEdit2() is required to use RichEdit control + // AfxInitRichEdit2(); + + // Standard initialization + // If you are not using these features and wish to reduce the size + // of your final executable, you should remove from the following + // the specific initialization routines you do not need + // Change the registry key under which our settings are stored + // TODO: You should modify this string to be something appropriate + // such as the name of your company or organization + SetRegistryKey(_T("Local AppWizard-Generated Applications")); + + + // To create the main window, this code creates a new frame window + // object and then sets it as the application's main window object + CMainFrame* pFrame = new CMainFrame; + if (!pFrame) + return FALSE; + m_pMainWnd = pFrame; + // create and load the frame with its resources + pFrame->LoadFrame(IDR_MAINFRAME, + WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, NULL, + NULL); + + + + + + // The one and only window has been initialized, so show and update it + pFrame->ShowWindow(SW_SHOW); + pFrame->UpdateWindow(); + return TRUE; +} + +int CApp11App::ExitInstance() +{ + //TODO: handle additional resources you may have added + return CWinApp::ExitInstance(); +} + +// CApp11App message handlers + + +// CAboutDlg dialog used for App About + +class CAboutDlg : public CDialogEx +{ +public: + CAboutDlg(); + +// Dialog Data + enum { IDD = IDD_ABOUTBOX }; + +protected: + virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support + +// Implementation +protected: + DECLARE_MESSAGE_MAP() +public: + afx_msg void OnBnClickedMfclink1(); + CMFCLinkCtrl m_mfcLinkCtrl; +}; + +CAboutDlg::CAboutDlg() : CDialogEx(CAboutDlg::IDD) +{ +} + +void CAboutDlg::DoDataExchange(CDataExchange* pDX) +{ + CDialogEx::DoDataExchange(pDX); +} + +BEGIN_MESSAGE_MAP(CAboutDlg, CDialogEx) +END_MESSAGE_MAP() + +// App command to run the dialog +void CApp11App::OnAppAbout() +{ + CAboutDlg aboutDlg; + aboutDlg.DoModal(); +} + +// CApp11App message handlers + + diff --git a/TestApps/App11/App11.h b/TestApps/App11/App11.h new file mode 100644 index 0000000..97bdadb --- /dev/null +++ b/TestApps/App11/App11.h @@ -0,0 +1,35 @@ + +// App11.h : main header file for the App11 application +// +#pragma once + +#ifndef __AFXWIN_H__ + #error "include 'stdafx.h' before including this file for PCH" +#endif + +#include "resource.h" // main symbols + + +// CApp11App: +// See App11.cpp for the implementation of this class +// + +class CApp11App : public CWinApp +{ +public: + CApp11App(); + + +// Overrides +public: + virtual BOOL InitInstance(); + virtual int ExitInstance(); + +// Implementation + +public: + afx_msg void OnAppAbout(); + DECLARE_MESSAGE_MAP() +}; + +extern CApp11App theApp; diff --git a/TestApps/App11/App11.rc b/TestApps/App11/App11.rc new file mode 100644 index 0000000..6befa8f --- /dev/null +++ b/TestApps/App11/App11.rc @@ -0,0 +1,324 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#ifndef APSTUDIO_INVOKED +#include "targetver.h" +#endif +#include "afxres.h" +#include "verrsrc.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (United States) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#ifndef APSTUDIO_INVOKED\r\n" + "#include ""targetver.h""\r\n" + "#endif\r\n" + "#include ""afxres.h""\r\n" + "#include ""verrsrc.h""\r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "#define _AFX_NO_OLE_RESOURCES\r\n" + "#define _AFX_NO_TRACKER_RESOURCES\r\n" + "#define _AFX_NO_PROPERTY_RESOURCES\r\n" + "\r\n" + "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" + "LANGUAGE 9, 1\r\n" + "#include ""res\\App11.rc2"" // non-Microsoft Visual C++ edited resources\r\n" + "#include ""afxres.rc"" // Standard components\r\n" + "#endif\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +IDR_MAINFRAME ICON "res\\App11.ico" + +///////////////////////////////////////////////////////////////////////////// +// +// Menu +// + +IDR_MAINFRAME MENU +BEGIN + POPUP "&File" + BEGIN + MENUITEM "&New...\tCtrl+N", ID_FILE_NEW_TEST + MENUITEM "&Start\tCtrl+S", ID_FILE_START + MENUITEM "Sto&p\tCtrl+P", ID_FILE_STOP + MENUITEM SEPARATOR + MENUITEM "E&xit\tAlt+F4", ID_APP_EXIT + END + POPUP "&View" + BEGIN + MENUITEM "&Status Bar", ID_VIEW_STATUS_BAR + END + POPUP "&Help" + BEGIN + MENUITEM "&About GALex...\tF1", ID_APP_ABOUT + END +END + + +///////////////////////////////////////////////////////////////////////////// +// +// Accelerator +// + +IDR_MAINFRAME ACCELERATORS +BEGIN + VK_F6, ID_NEXT_PANE, VIRTKEY, NOINVERT + VK_F6, ID_PREV_PANE, VIRTKEY, SHIFT, NOINVERT + "N", ID_FILE_NEW_TEST, VIRTKEY, CONTROL, NOINVERT + "S", ID_FILE_START, VIRTKEY, CONTROL, NOINVERT + "P", ID_FILE_STOP, VIRTKEY, CONTROL, NOINVERT +END + + +///////////////////////////////////////////////////////////////////////////// +// +// Dialog +// + +IDD_ABOUTBOX DIALOGEX 0, 0, 171, 63 +STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "About GALex" +FONT 8, "MS Shell Dlg", 0, 0, 0x1 +BEGIN + LTEXT "GALex - Advance Library for Genetic Algorithms",IDC_STATIC,7,14,157,8,SS_NOPREFIX + LTEXT "Copyright (C) 2013 Mladen Jankovic",IDC_STATIC,7,26,157,8 + DEFPUSHBUTTON "OK",IDOK,114,42,50,14,WS_GROUP +END + +IDD_NEW_DLG DIALOGEX 0, 0, 247, 117 +STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "New Test" +FONT 8, "MS Shell Dlg", 400, 0, 0x1 +BEGIN + LTEXT "&Width",IDC_STATIC,18,18,20,8 + EDITTEXT IDC_SHEET_WIDTH,18,30,42,14,ES_AUTOHSCROLL | ES_NUMBER + LTEXT "&Height",IDC_STATIC,72,18,22,8 + EDITTEXT IDC_SHEET_HEIGHT,72,30,42,14,ES_AUTOHSCROLL | ES_NUMBER + LTEXT "Mi&n Width",IDC_STATIC,138,18,32,8 + EDITTEXT IDC_ITEM_MIN_WIDTH,138,30,42,14,ES_AUTOHSCROLL | ES_NUMBER + LTEXT "Ma&x Width",IDC_STATIC,138,48,35,8 + EDITTEXT IDC_ITEM_MAX_WIDTH,138,60,42,14,ES_AUTOHSCROLL | ES_NUMBER + LTEXT "M&in Height",IDC_STATIC,192,18,34,8 + EDITTEXT IDC_ITEM_MIN_HEIGHT,192,30,42,14,ES_AUTOHSCROLL | ES_NUMBER + LTEXT "M&ax Height",IDC_STATIC,192,48,37,8 + EDITTEXT IDC_ITEM_MAX_HEIGHT,192,60,42,14,ES_AUTOHSCROLL | ES_NUMBER + LTEXT "&Count",IDC_STATIC,192,78,20,8 + EDITTEXT IDC_ITEM_COUNT,192,90,42,14,ES_AUTOHSCROLL | ES_NUMBER + DEFPUSHBUTTON "OK",IDOK,6,90,54,14 + PUSHBUTTON "Cancel",IDCANCEL,66,90,56,14 + GROUPBOX "Sheet Size",IDC_STATIC,6,6,114,42 + GROUPBOX "Items",IDC_STATIC,126,6,114,102 +END + + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,1 + PRODUCTVERSION 1,0,0,1 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x1L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904B0" + BEGIN + VALUE "CompanyName", "TODO: " + VALUE "FileDescription", "App11" + VALUE "FileVersion", "1.0.0.1" + VALUE "InternalName", "App11.exe" + VALUE "LegalCopyright", "TODO: (c) . All rights reserved." + VALUE "OriginalFilename", "App11.exe" + VALUE "ProductName", "TODO: " + VALUE "ProductVersion", "1.0.0.1" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END + + +///////////////////////////////////////////////////////////////////////////// +// +// DESIGNINFO +// + +#ifdef APSTUDIO_INVOKED +GUIDELINES DESIGNINFO +BEGIN + IDD_ABOUTBOX, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 164 + TOPMARGIN, 7 + BOTTOMMARGIN, 56 + END + + IDD_NEW_DLG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 240 + TOPMARGIN, 7 + BOTTOMMARGIN, 110 + END +END +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// String Table +// + +STRINGTABLE +BEGIN + IDR_MAINFRAME "GALex Demo - Cutting-Stock Problem" +END + +STRINGTABLE +BEGIN + AFX_IDS_APP_TITLE "GALex Demo - Cutting-Stock Problem" + AFX_IDS_IDLEMESSAGE "Ready" +END + +STRINGTABLE +BEGIN + ID_INDICATOR_EXT "EXT" + ID_INDICATOR_CAPS "CAP" + ID_INDICATOR_NUM "NUM" + ID_INDICATOR_SCRL "SCRL" + ID_INDICATOR_OVR "OVR" + ID_INDICATOR_REC "REC" +END + +STRINGTABLE +BEGIN + ID_APP_ABOUT "Display program information, version number and copyright\nAbout" + ID_APP_EXIT "Quit the application; prompts to save documents\nExit" +END + +STRINGTABLE +BEGIN + ID_NEXT_PANE "Switch to the next window pane\nNext Pane" + ID_PREV_PANE "Switch back to the previous window pane\nPrevious Pane" +END + +STRINGTABLE +BEGIN + ID_WINDOW_SPLIT "Split the active window into panes\nSplit" +END + +STRINGTABLE +BEGIN + ID_EDIT_CLEAR "Erase the selection\nErase" + ID_EDIT_CLEAR_ALL "Erase everything\nErase All" + ID_EDIT_COPY "Copy the selection and put it on the Clipboard\nCopy" + ID_EDIT_CUT "Cut the selection and put it on the Clipboard\nCut" + ID_EDIT_FIND "Find the specified text\nFind" + ID_EDIT_PASTE "Insert Clipboard contents\nPaste" + ID_EDIT_REPEAT "Repeat the last action\nRepeat" + ID_EDIT_REPLACE "Replace specific text with different text\nReplace" + ID_EDIT_SELECT_ALL "Select the entire document\nSelect All" + ID_EDIT_UNDO "Undo the last action\nUndo" + ID_EDIT_REDO "Redo the previously undone action\nRedo" +END + +STRINGTABLE +BEGIN + ID_VIEW_TOOLBAR "Show or hide the toolbar\nToggle ToolBar" + ID_VIEW_STATUS_BAR "Show or hide the status bar\nToggle Status Bar" +END + +STRINGTABLE +BEGIN + AFX_IDS_SCSIZE "Change the window size" + AFX_IDS_SCMOVE "Change the window position" + AFX_IDS_SCMINIMIZE "Reduce the window to an icon" + AFX_IDS_SCMAXIMIZE "Enlarge the window to full size" + AFX_IDS_SCNEXTWINDOW "Switch to the next document window" + AFX_IDS_SCPREVWINDOW "Switch to the previous document window" + AFX_IDS_SCCLOSE "Close the active window and prompts to save the documents" +END + +STRINGTABLE +BEGIN + AFX_IDS_SCRESTORE "Restore the window to normal size" + AFX_IDS_SCTASKLIST "Activate Task List" +END + +#endif // English (United States) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// +#define _AFX_NO_OLE_RESOURCES +#define _AFX_NO_TRACKER_RESOURCES +#define _AFX_NO_PROPERTY_RESOURCES + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +LANGUAGE 9, 1 +#include "res\App11.rc2" // non-Microsoft Visual C++ edited resources +#include "afxres.rc" // Standard components +#endif + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/TestApps/App11/App11.vcxproj b/TestApps/App11/App11.vcxproj new file mode 100644 index 0000000..c4f9a8c --- /dev/null +++ b/TestApps/App11/App11.vcxproj @@ -0,0 +1,140 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {719AFAAC-E867-4186-B08C-0DC80A65BE8D} + App11 + MFCProj + + + + Application + true + v110 + Unicode + Static + + + Application + false + v110 + true + Unicode + Static + + + + + + + + + + + + + true + $(SolutionDir)build\$(Configuration)\msvc\ + $(SolutionDir)build\$(Configuration)\msvc\objs\app11\ + + + false + $(SolutionDir)build\$(Configuration)\msvc\ + $(SolutionDir)build\$(Configuration)\msvc\objs\app11\ + + + + Use + Level3 + Disabled + WIN32;_WINDOWS;_DEBUG;%(PreprocessorDefinitions) + true + + + Windows + true + + + false + true + _DEBUG;%(PreprocessorDefinitions) + + + 0x0409 + _DEBUG;%(PreprocessorDefinitions) + $(IntDir);%(AdditionalIncludeDirectories) + + + + + Level3 + Use + MaxSpeed + true + true + WIN32;_WINDOWS;NDEBUG;%(PreprocessorDefinitions) + true + + + Windows + true + true + true + + + false + true + NDEBUG;%(PreprocessorDefinitions) + + + 0x0409 + NDEBUG;%(PreprocessorDefinitions) + $(IntDir);%(AdditionalIncludeDirectories) + + + + + + + + + + + + + + + + + + Create + Create + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/TestApps/App11/App11.vcxproj.filters b/TestApps/App11/App11.vcxproj.filters new file mode 100644 index 0000000..f1e0163 --- /dev/null +++ b/TestApps/App11/App11.vcxproj.filters @@ -0,0 +1,72 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Resource Files + + + + + Resource Files + + + + + Resource Files + + + \ No newline at end of file diff --git a/TestApps/App11/ChildView.cpp b/TestApps/App11/ChildView.cpp new file mode 100644 index 0000000..4f12e82 --- /dev/null +++ b/TestApps/App11/ChildView.cpp @@ -0,0 +1,54 @@ + +// ChildView.cpp : implementation of the CChildView class +// + +#include "stdafx.h" +#include "App11.h" +#include "ChildView.h" + +#ifdef _DEBUG +#define new DEBUG_NEW +#endif + + +// CChildView + +CChildView::CChildView() +{ +} + +CChildView::~CChildView() +{ +} + + +BEGIN_MESSAGE_MAP(CChildView, CWnd) + ON_WM_PAINT() +END_MESSAGE_MAP() + + + +// CChildView message handlers + +BOOL CChildView::PreCreateWindow(CREATESTRUCT& cs) +{ + if (!CWnd::PreCreateWindow(cs)) + return FALSE; + + cs.dwExStyle |= WS_EX_CLIENTEDGE; + cs.style &= ~WS_BORDER; + cs.lpszClass = AfxRegisterWndClass(CS_HREDRAW|CS_VREDRAW|CS_DBLCLKS, + ::LoadCursor(NULL, IDC_ARROW), reinterpret_cast(COLOR_WINDOW+1), NULL); + + return TRUE; +} + +void CChildView::OnPaint() +{ + CPaintDC dc(this); // device context for painting + + // TODO: Add your message handler code here + + // Do not call CWnd::OnPaint() for painting messages +} + diff --git a/TestApps/App11/ChildView.h b/TestApps/App11/ChildView.h new file mode 100644 index 0000000..7028b32 --- /dev/null +++ b/TestApps/App11/ChildView.h @@ -0,0 +1,36 @@ + +// ChildView.h : interface of the CChildView class +// + + +#pragma once + + +// CChildView window + +class CChildView : public CWnd +{ +// Construction +public: + CChildView(); + +// Attributes +public: + +// Operations +public: + +// Overrides + protected: + virtual BOOL PreCreateWindow(CREATESTRUCT& cs); + +// Implementation +public: + virtual ~CChildView(); + + // Generated message map functions +protected: + afx_msg void OnPaint(); + DECLARE_MESSAGE_MAP() +}; + diff --git a/TestApps/App11/MainFrm.cpp b/TestApps/App11/MainFrm.cpp new file mode 100644 index 0000000..a88f107 --- /dev/null +++ b/TestApps/App11/MainFrm.cpp @@ -0,0 +1,108 @@ + +// MainFrm.cpp : implementation of the CMainFrame class +// + +#include "stdafx.h" +#include "App11.h" + +#include "MainFrm.h" + +#ifdef _DEBUG +#define new DEBUG_NEW +#endif + +// CMainFrame + +IMPLEMENT_DYNAMIC(CMainFrame, CFrameWnd) + +BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd) + ON_WM_CREATE() + ON_WM_SETFOCUS() +END_MESSAGE_MAP() + +static UINT indicators[] = +{ + ID_SEPARATOR, // status line indicator + ID_INDICATOR_CAPS, + ID_INDICATOR_NUM, + ID_INDICATOR_SCRL, +}; + +// CMainFrame construction/destruction + +CMainFrame::CMainFrame() +{ + // TODO: add member initialization code here +} + +CMainFrame::~CMainFrame() +{ +} + +int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct) +{ + if (CFrameWnd::OnCreate(lpCreateStruct) == -1) + return -1; + + // create a view to occupy the client area of the frame + if (!m_wndView.Create(NULL, NULL, AFX_WS_DEFAULT_VIEW, CRect(0, 0, 0, 0), this, AFX_IDW_PANE_FIRST, NULL)) + { + TRACE0("Failed to create view window\n"); + return -1; + } + + if (!m_wndStatusBar.Create(this)) + { + TRACE0("Failed to create status bar\n"); + return -1; // fail to create + } + m_wndStatusBar.SetIndicators(indicators, sizeof(indicators)/sizeof(UINT)); + + return 0; +} + +BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs) +{ + if( !CFrameWnd::PreCreateWindow(cs) ) + return FALSE; + // TODO: Modify the Window class or styles here by modifying + // the CREATESTRUCT cs + + cs.dwExStyle &= ~WS_EX_CLIENTEDGE; + cs.lpszClass = AfxRegisterWndClass(0); + return TRUE; +} + +// CMainFrame diagnostics + +#ifdef _DEBUG +void CMainFrame::AssertValid() const +{ + CFrameWnd::AssertValid(); +} + +void CMainFrame::Dump(CDumpContext& dc) const +{ + CFrameWnd::Dump(dc); +} +#endif //_DEBUG + + +// CMainFrame message handlers + +void CMainFrame::OnSetFocus(CWnd* /*pOldWnd*/) +{ + // forward focus to the view window + m_wndView.SetFocus(); +} + +BOOL CMainFrame::OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo) +{ + // let the view have first crack at the command + if (m_wndView.OnCmdMsg(nID, nCode, pExtra, pHandlerInfo)) + return TRUE; + + // otherwise, do default handling + return CFrameWnd::OnCmdMsg(nID, nCode, pExtra, pHandlerInfo); +} + diff --git a/TestApps/App11/MainFrm.h b/TestApps/App11/MainFrm.h new file mode 100644 index 0000000..d715e96 --- /dev/null +++ b/TestApps/App11/MainFrm.h @@ -0,0 +1,47 @@ + +// MainFrm.h : interface of the CMainFrame class +// + +#pragma once +#include "ChildView.h" + +class CMainFrame : public CFrameWnd +{ + +public: + CMainFrame(); +protected: + DECLARE_DYNAMIC(CMainFrame) + +// Attributes +public: + +// Operations +public: + +// Overrides +public: + virtual BOOL PreCreateWindow(CREATESTRUCT& cs); + virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo); + +// Implementation +public: + virtual ~CMainFrame(); +#ifdef _DEBUG + virtual void AssertValid() const; + virtual void Dump(CDumpContext& dc) const; +#endif + +protected: // control bar embedded members + CStatusBar m_wndStatusBar; + CChildView m_wndView; + +// Generated message map functions +protected: + afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); + afx_msg void OnSetFocus(CWnd *pOldWnd); + DECLARE_MESSAGE_MAP() + +}; + + diff --git a/TestApps/App11/NewTestDlg.cpp b/TestApps/App11/NewTestDlg.cpp new file mode 100644 index 0000000..1a204df --- /dev/null +++ b/TestApps/App11/NewTestDlg.cpp @@ -0,0 +1,55 @@ +// NewTestDlg.cpp : implementation file +// + +#include "stdafx.h" +#include "App11.h" +#include "NewTestDlg.h" +#include "afxdialogex.h" + + +// CNewTestDlg dialog + +IMPLEMENT_DYNAMIC(CNewTestDlg, CDialogEx) + +CNewTestDlg::CNewTestDlg(CWnd* pParent /*=NULL*/) + : CDialogEx(CNewTestDlg::IDD, pParent) + , m_sheetWidth(0) + , m_sheetHeight(0) + , m_itemMinWidth(0) + , m_itemMaxWidth(0) + , m_itemMinHeight(0) + , m_itemMaxHeight(0) + , m_itemCount(0) +{ + +} + +CNewTestDlg::~CNewTestDlg() +{ +} + +void CNewTestDlg::DoDataExchange(CDataExchange* pDX) +{ + CDialogEx::DoDataExchange(pDX); + DDX_Text(pDX, IDC_SHEET_WIDTH, m_sheetWidth); + DDX_Text(pDX, IDC_SHEET_HEIGHT, m_sheetHeight); + DDX_Text(pDX, IDC_ITEM_MIN_WIDTH, m_itemMinWidth); + DDX_Text(pDX, IDC_ITEM_MAX_WIDTH, m_itemMaxWidth); + DDX_Text(pDX, IDC_ITEM_MIN_HEIGHT, m_itemMinHeight); + DDX_Text(pDX, IDC_ITEM_MAX_HEIGHT, m_itemMaxHeight); + DDX_Text(pDX, IDC_ITEM_COUNT, m_itemCount); + DDV_MinMaxInt(pDX, m_sheetWidth, 1, INT_MAX); + DDV_MinMaxInt(pDX, m_sheetHeight, m_sheetWidth + 1, INT_MAX); + DDV_MinMaxInt(pDX, m_itemMinWidth, 1, m_sheetWidth); + DDV_MinMaxInt(pDX, m_itemMaxWidth, m_itemMinWidth, m_sheetWidth); + DDV_MinMaxInt(pDX, m_itemMinHeight, 1, m_sheetHeight); + DDV_MinMaxInt(pDX, m_itemMaxHeight, m_itemMinHeight, m_sheetHeight); + DDV_MinMaxInt(pDX, m_itemCount, 1, INT_MAX); +} + + +BEGIN_MESSAGE_MAP(CNewTestDlg, CDialogEx) +END_MESSAGE_MAP() + + +// CNewTestDlg message handlers diff --git a/TestApps/App11/NewTestDlg.h b/TestApps/App11/NewTestDlg.h new file mode 100644 index 0000000..6bd2072 --- /dev/null +++ b/TestApps/App11/NewTestDlg.h @@ -0,0 +1,39 @@ +#pragma once + + +// CNewTestDlg dialog + +class CNewTestDlg : public CDialogEx +{ + DECLARE_DYNAMIC(CNewTestDlg) + +public: + CNewTestDlg(CWnd* pParent = NULL); // standard constructor + virtual ~CNewTestDlg(); + +// Dialog Data + enum { IDD = IDD_NEW_DLG }; + +protected: + virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support + + DECLARE_MESSAGE_MAP() + +private: + int m_sheetWidth; + int m_sheetHeight; + int m_itemMinWidth; + int m_itemMaxWidth; + int m_itemMinHeight; + int m_itemMaxHeight; + int m_itemCount; + +public: + inline int GetSheetWidth() const { return m_sheetWidth; } + inline int GetSheetHeight() const { return m_sheetHeight; } + inline int GetItemMinWidth() const { return m_itemMinWidth; } + inline int GetItemMaxWidth() const { return m_itemMaxWidth; } + inline int GetItemMinHeight() const { return m_itemMinHeight; } + inline int GetItemMaxHeight() const { return m_itemMaxHeight; } + inline int GetItemCount() const { return m_itemCount; } +}; diff --git a/TestApps/App11/res/App11.ico b/TestApps/App11/res/App11.ico new file mode 100644 index 0000000..d56fbcd Binary files /dev/null and b/TestApps/App11/res/App11.ico differ diff --git a/TestApps/App11/res/App11.rc2 b/TestApps/App11/res/App11.rc2 new file mode 100644 index 0000000..3ca6995 Binary files /dev/null and b/TestApps/App11/res/App11.rc2 differ diff --git a/TestApps/App11/resource.h b/TestApps/App11/resource.h new file mode 100644 index 0000000..da875a2 --- /dev/null +++ b/TestApps/App11/resource.h @@ -0,0 +1,37 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by App11.rc +// +#define IDD_ABOUTBOX 100 +#define IDR_MAINFRAME 128 +#define IDR_App11TYPE 130 +#define IDD_NEW_DLG 311 +#define IDC_EDIT1 1001 +#define IDC_SHEET_WIDTH 1001 +#define IDC_EDIT2 1002 +#define IDC_SHEET_HEIGHT 1002 +#define IDC_EDIT3 1006 +#define IDC_ITEM_MIN_HEIGHT 1006 +#define IDC_EDIT4 1007 +#define IDC_ITEM_MIN_WIDTH 1007 +#define IDC_EDIT5 1008 +#define IDC_ITEM_MAX_HEIGHT 1008 +#define IDC_EDIT6 1009 +#define IDC_ITEM_MAX_WIDTH 1009 +#define IDC_EDIT7 1010 +#define IDC_ITEM_COUNT 1010 +#define ID_FILE_START 32771 +#define ID_FILE_STOP 32772 +#define ID_FILE_NEW32773 32773 +#define ID_FILE_NEW_TEST 32774 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 312 +#define _APS_NEXT_COMMAND_VALUE 32787 +#define _APS_NEXT_CONTROL_VALUE 1004 +#define _APS_NEXT_SYMED_VALUE 310 +#endif +#endif diff --git a/TestApps/App11/stdafx.cpp b/TestApps/App11/stdafx.cpp new file mode 100644 index 0000000..637173c --- /dev/null +++ b/TestApps/App11/stdafx.cpp @@ -0,0 +1,8 @@ + +// stdafx.cpp : source file that includes just the standard includes +// App11.pch will be the pre-compiled header +// stdafx.obj will contain the pre-compiled type information + +#include "stdafx.h" + + diff --git a/TestApps/App11/stdafx.h b/TestApps/App11/stdafx.h new file mode 100644 index 0000000..581c05d --- /dev/null +++ b/TestApps/App11/stdafx.h @@ -0,0 +1,53 @@ + +// stdafx.h : include file for standard system include files, +// or project specific include files that are used frequently, +// but are changed infrequently + +#pragma once + +#ifndef VC_EXTRALEAN +#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers +#endif + +#include "targetver.h" + +#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit + +// turns off MFC's hiding of some common and often safely ignored warning messages +#define _AFX_ALL_WARNINGS + +#include // MFC core and standard components +#include // MFC extensions + + + + + +#ifndef _AFX_NO_OLE_SUPPORT +#include // MFC support for Internet Explorer 4 Common Controls +#endif +#ifndef _AFX_NO_AFXCMN_SUPPORT +#include // MFC support for Windows Common Controls +#endif // _AFX_NO_AFXCMN_SUPPORT + +#include // MFC support for ribbons and control bars + + + + + + + + + +#ifdef _UNICODE +#if defined _M_IX86 +#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") +#elif defined _M_X64 +#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") +#else +#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") +#endif +#endif + + diff --git a/TestApps/App11/targetver.h b/TestApps/App11/targetver.h new file mode 100644 index 0000000..87c0086 --- /dev/null +++ b/TestApps/App11/targetver.h @@ -0,0 +1,8 @@ +#pragma once + +// Including SDKDDKVer.h defines the highest available Windows platform. + +// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and +// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. + +#include