diff --git a/Test/Test/MainFrm.cpp b/Test/Test/MainFrm.cpp index 26cb927..2726a0b 100644 --- a/Test/Test/MainFrm.cpp +++ b/Test/Test/MainFrm.cpp @@ -17,12 +17,11 @@ IMPLEMENT_DYNCREATE(CMainFrame, CFrameWnd) BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd) - ON_WM_CREATE() +ON_WM_CREATE() END_MESSAGE_MAP() -static UINT indicators[] = -{ - ID_SEPARATOR, // status line indicator +static UINT indicators[] = { + ID_SEPARATOR, // status line indicator ID_INDICATOR_CAPS, ID_INDICATOR_NUM, ID_INDICATOR_SCRL, @@ -30,46 +29,39 @@ static UINT indicators[] = // CMainFrame construction/destruction -CMainFrame::CMainFrame() noexcept -{ +CMainFrame::CMainFrame() noexcept { // TODO: add member initialization code here } -CMainFrame::~CMainFrame() -{ +CMainFrame::~CMainFrame() { } -int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct) -{ +int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct) { if (CFrameWnd::OnCreate(lpCreateStruct) == -1) return -1; if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP | CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) || - !m_wndToolBar.LoadToolBar(IDR_MAINFRAME)) - { + !m_wndToolBar.LoadToolBar(IDR_MAINFRAME)) { TRACE0("Failed to create toolbar\n"); - return -1; // fail to create + return -1; // fail to create } - if (!m_wndStatusBar.Create(this)) - { + if (!m_wndStatusBar.Create(this)) { TRACE0("Failed to create status bar\n"); - return -1; // fail to create + return -1; // fail to create } - m_wndStatusBar.SetIndicators(indicators, sizeof(indicators)/sizeof(UINT)); + m_wndStatusBar.SetIndicators(indicators, sizeof(indicators) / sizeof(UINT)); // TODO: Delete these three lines if you don't want the toolbar to be dockable m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY); EnableDocking(CBRS_ALIGN_ANY); DockControlBar(&m_wndToolBar); - return 0; } -BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs) -{ - if( !CFrameWnd::PreCreateWindow(cs) ) +BOOL CMainFrame::PreCreateWindow(CREATESTRUCT &cs) { + if (!CFrameWnd::PreCreateWindow(cs)) return FALSE; // TODO: Modify the Window class or styles here by modifying // the CREATESTRUCT cs @@ -80,17 +72,13 @@ BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs) // CMainFrame diagnostics #ifdef _DEBUG -void CMainFrame::AssertValid() const -{ +void CMainFrame::AssertValid() const { CFrameWnd::AssertValid(); } -void CMainFrame::Dump(CDumpContext& dc) const -{ +void CMainFrame::Dump(CDumpContext &dc) const { CFrameWnd::Dump(dc); } #endif //_DEBUG - // CMainFrame message handlers - diff --git a/Test/Test/MainFrm.h b/Test/Test/MainFrm.h index 976d34b..a0ca85e 100644 --- a/Test/Test/MainFrm.h +++ b/Test/Test/MainFrm.h @@ -4,40 +4,34 @@ #pragma once -class CMainFrame : public CFrameWnd -{ - +class CMainFrame : public CFrameWnd { + protected: // create from serialization only CMainFrame() noexcept; DECLARE_DYNCREATE(CMainFrame) -// Attributes + // Attributes public: - -// Operations + // Operations public: - -// Overrides + // Overrides public: - virtual BOOL PreCreateWindow(CREATESTRUCT& cs); + virtual BOOL PreCreateWindow(CREATESTRUCT &cs); -// Implementation + // Implementation public: virtual ~CMainFrame(); #ifdef _DEBUG virtual void AssertValid() const; - virtual void Dump(CDumpContext& dc) const; + virtual void Dump(CDumpContext &dc) const; #endif -protected: // control bar embedded members - CToolBar m_wndToolBar; - CStatusBar m_wndStatusBar; +protected: // control bar embedded members + CToolBar m_wndToolBar; + CStatusBar m_wndStatusBar; -// Generated message map functions + // Generated message map functions protected: afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); DECLARE_MESSAGE_MAP() - }; - - diff --git a/Test/Test/Resource.h b/Test/Test/Resource.h index 321619f..6868daf 100644 --- a/Test/Test/Resource.h +++ b/Test/Test/Resource.h @@ -2,18 +2,18 @@ // Microsoft Visual C++ generated include file. // Used by Test.rc // -#define IDD_ABOUTBOX 100 -#define IDP_OLE_INIT_FAILED 100 -#define IDR_MAINFRAME 128 -#define IDR_TestTYPE 130 +#define IDD_ABOUTBOX 100 +#define IDP_OLE_INIT_FAILED 100 +#define IDR_MAINFRAME 128 +#define IDR_TestTYPE 130 // Next default values for new objects // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 310 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 310 -#define _APS_NEXT_COMMAND_VALUE 32771 +#define _APS_NEXT_RESOURCE_VALUE 310 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 310 +#define _APS_NEXT_COMMAND_VALUE 32771 #endif #endif diff --git a/Test/Test/Test.cpp b/Test/Test/Test.cpp index f84c26a..764285e 100644 --- a/Test/Test/Test.cpp +++ b/Test/Test/Test.cpp @@ -16,23 +16,20 @@ #define new DEBUG_NEW #endif - // CTestApp BEGIN_MESSAGE_MAP(CTestApp, CWinApp) - ON_COMMAND(ID_APP_ABOUT, &CTestApp::OnAppAbout) - // Standard file based document commands - ON_COMMAND(ID_FILE_NEW, &CWinApp::OnFileNew) - ON_COMMAND(ID_FILE_OPEN, &CWinApp::OnFileOpen) - // Standard print setup command - ON_COMMAND(ID_FILE_PRINT_SETUP, &CWinApp::OnFilePrintSetup) +ON_COMMAND(ID_APP_ABOUT, &CTestApp::OnAppAbout) +// Standard file based document commands +ON_COMMAND(ID_FILE_NEW, &CWinApp::OnFileNew) +ON_COMMAND(ID_FILE_OPEN, &CWinApp::OnFileOpen) +// Standard print setup command +ON_COMMAND(ID_FILE_PRINT_SETUP, &CWinApp::OnFilePrintSetup) END_MESSAGE_MAP() - // CTestApp construction -CTestApp::CTestApp() noexcept -{ +CTestApp::CTestApp() noexcept { // support Restart Manager m_dwRestartManagerSupportFlags = AFX_RESTART_MANAGER_SUPPORT_ALL_ASPECTS; @@ -55,11 +52,9 @@ CTestApp::CTestApp() noexcept CTestApp theApp; - // CTestApp initialization -BOOL CTestApp::InitInstance() -{ +BOOL CTestApp::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. @@ -72,10 +67,8 @@ BOOL CTestApp::InitInstance() CWinApp::InitInstance(); - // Initialize OLE libraries - if (!AfxOleInit()) - { + if (!AfxOleInit()) { AfxMessageBox(IDP_OLE_INIT_FAILED); return FALSE; } @@ -95,28 +88,24 @@ BOOL CTestApp::InitInstance() // 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")); - LoadStdProfileSettings(4); // Load standard INI file options (including MRU) - + LoadStdProfileSettings(4); // Load standard INI file options (including MRU) // Register the application's document templates. Document templates // serve as the connection between documents, frame windows and views - CSingleDocTemplate* pDocTemplate; + CSingleDocTemplate *pDocTemplate; pDocTemplate = new CSingleDocTemplate( IDR_MAINFRAME, RUNTIME_CLASS(CTestDoc), - RUNTIME_CLASS(CMainFrame), // main SDI frame window + RUNTIME_CLASS(CMainFrame), // main SDI frame window RUNTIME_CLASS(CTestView)); if (!pDocTemplate) return FALSE; AddDocTemplate(pDocTemplate); - // Parse command line for standard shell commands, DDE, file open CCommandLineInfo cmdInfo; ParseCommandLine(cmdInfo); - - // Dispatch commands specified on the command line. Will return FALSE if // app was launched with /RegServer, /Register, /Unregserver or /Unregister. if (!ProcessShellCommand(cmdInfo)) @@ -128,9 +117,8 @@ BOOL CTestApp::InitInstance() return TRUE; } -int CTestApp::ExitInstance() -{ - //TODO: handle additional resources you may have added +int CTestApp::ExitInstance() { + // TODO: handle additional resources you may have added AfxOleTerm(FALSE); return CWinApp::ExitInstance(); @@ -138,11 +126,9 @@ int CTestApp::ExitInstance() // CTestApp message handlers - // CAboutDlg dialog used for App About -class CAboutDlg : public CDialogEx -{ +class CAboutDlg : public CDialogEx { public: CAboutDlg() noexcept; @@ -152,19 +138,17 @@ public: #endif protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support + virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support -// Implementation + // Implementation protected: DECLARE_MESSAGE_MAP() }; -CAboutDlg::CAboutDlg() noexcept : CDialogEx(IDD_ABOUTBOX) -{ +CAboutDlg::CAboutDlg() noexcept : CDialogEx(IDD_ABOUTBOX) { } -void CAboutDlg::DoDataExchange(CDataExchange* pDX) -{ +void CAboutDlg::DoDataExchange(CDataExchange *pDX) { CDialogEx::DoDataExchange(pDX); } @@ -172,13 +156,9 @@ BEGIN_MESSAGE_MAP(CAboutDlg, CDialogEx) END_MESSAGE_MAP() // App command to run the dialog -void CTestApp::OnAppAbout() -{ +void CTestApp::OnAppAbout() { CAboutDlg aboutDlg; aboutDlg.DoModal(); } // CTestApp message handlers - - - diff --git a/Test/Test/Test.h b/Test/Test/Test.h index f7e63ba..4c0a8a8 100644 --- a/Test/Test/Test.h +++ b/Test/Test/Test.h @@ -4,28 +4,25 @@ #pragma once #ifndef __AFXWIN_H__ - #error "include 'pch.h' before including this file for PCH" +#error "include 'pch.h' before including this file for PCH" #endif -#include "resource.h" // main symbols - +#include "resource.h" // main symbols // CTestApp: // See Test.cpp for the implementation of this class // -class CTestApp : public CWinApp -{ +class CTestApp : public CWinApp { public: CTestApp() noexcept; - -// Overrides + // Overrides public: virtual BOOL InitInstance(); virtual int ExitInstance(); -// Implementation + // Implementation afx_msg void OnAppAbout(); DECLARE_MESSAGE_MAP() }; diff --git a/Test/Test/TestDoc.cpp b/Test/Test/TestDoc.cpp index fc38b88..9f38c81 100644 --- a/Test/Test/TestDoc.cpp +++ b/Test/Test/TestDoc.cpp @@ -25,21 +25,16 @@ IMPLEMENT_DYNCREATE(CTestDoc, CDocument) BEGIN_MESSAGE_MAP(CTestDoc, CDocument) END_MESSAGE_MAP() - // CTestDoc construction/destruction -CTestDoc::CTestDoc() noexcept -{ +CTestDoc::CTestDoc() noexcept { // TODO: add one-time construction code here - } -CTestDoc::~CTestDoc() -{ +CTestDoc::~CTestDoc() { } -BOOL CTestDoc::OnNewDocument() -{ +BOOL CTestDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; @@ -49,19 +44,13 @@ BOOL CTestDoc::OnNewDocument() return TRUE; } - - - // CTestDoc serialization -void CTestDoc::Serialize(CArchive& ar) -{ - if (ar.IsStoring()) - { +void CTestDoc::Serialize(CArchive &ar) { + if (ar.IsStoring()) { // TODO: add storing code here } - else - { + else { // TODO: add loading code here } } @@ -69,29 +58,27 @@ void CTestDoc::Serialize(CArchive& ar) #ifdef SHARED_HANDLERS // Support for thumbnails -void CTestDoc::OnDrawThumbnail(CDC& dc, LPRECT lprcBounds) -{ +void CTestDoc::OnDrawThumbnail(CDC &dc, LPRECT lprcBounds) { // Modify this code to draw the document's data dc.FillSolidRect(lprcBounds, RGB(255, 255, 255)); CString strText = _T("TODO: implement thumbnail drawing here"); LOGFONT lf; - CFont* pDefaultGUIFont = CFont::FromHandle((HFONT) GetStockObject(DEFAULT_GUI_FONT)); + CFont *pDefaultGUIFont = CFont::FromHandle((HFONT)GetStockObject(DEFAULT_GUI_FONT)); pDefaultGUIFont->GetLogFont(&lf); lf.lfHeight = 36; CFont fontDraw; fontDraw.CreateFontIndirect(&lf); - CFont* pOldFont = dc.SelectObject(&fontDraw); + CFont *pOldFont = dc.SelectObject(&fontDraw); dc.DrawText(strText, lprcBounds, DT_CENTER | DT_WORDBREAK); dc.SelectObject(pOldFont); } // Support for Search Handlers -void CTestDoc::InitializeSearchContent() -{ +void CTestDoc::InitializeSearchContent() { CString strSearchContent; // Set search contents from document's data. // The content parts should be separated by ";" @@ -100,18 +87,14 @@ void CTestDoc::InitializeSearchContent() SetSearchContent(strSearchContent); } -void CTestDoc::SetSearchContent(const CString& value) -{ - if (value.IsEmpty()) - { +void CTestDoc::SetSearchContent(const CString &value) { + if (value.IsEmpty()) { RemoveChunk(PKEY_Search_Contents.fmtid, PKEY_Search_Contents.pid); } - else - { + else { CMFCFilterChunkValueImpl *pChunk = nullptr; ATLTRY(pChunk = new CMFCFilterChunkValueImpl); - if (pChunk != nullptr) - { + if (pChunk != nullptr) { pChunk->SetTextValue(PKEY_Search_Contents, value, CHUNK_TEXT); SetChunkValue(pChunk); } @@ -123,16 +106,13 @@ void CTestDoc::SetSearchContent(const CString& value) // CTestDoc diagnostics #ifdef _DEBUG -void CTestDoc::AssertValid() const -{ +void CTestDoc::AssertValid() const { CDocument::AssertValid(); } -void CTestDoc::Dump(CDumpContext& dc) const -{ +void CTestDoc::Dump(CDumpContext &dc) const { CDocument::Dump(dc); } #endif //_DEBUG - // CTestDoc commands diff --git a/Test/Test/TestDoc.h b/Test/Test/TestDoc.h index 90a4857..f44c6fa 100644 --- a/Test/Test/TestDoc.h +++ b/Test/Test/TestDoc.h @@ -2,47 +2,41 @@ // TestDoc.h : interface of the CTestDoc class // - #pragma once - -class CTestDoc : public CDocument -{ +class CTestDoc : public CDocument { protected: // create from serialization only CTestDoc() noexcept; DECLARE_DYNCREATE(CTestDoc) -// Attributes + // Attributes public: - -// Operations + // Operations public: - -// Overrides + // Overrides public: virtual BOOL OnNewDocument(); - virtual void Serialize(CArchive& ar); + virtual void Serialize(CArchive &ar); #ifdef SHARED_HANDLERS virtual void InitializeSearchContent(); - virtual void OnDrawThumbnail(CDC& dc, LPRECT lprcBounds); + virtual void OnDrawThumbnail(CDC &dc, LPRECT lprcBounds); #endif // SHARED_HANDLERS -// Implementation + // Implementation public: virtual ~CTestDoc(); #ifdef _DEBUG virtual void AssertValid() const; - virtual void Dump(CDumpContext& dc) const; + virtual void Dump(CDumpContext &dc) const; #endif protected: - -// Generated message map functions + // Generated message map functions protected: DECLARE_MESSAGE_MAP() #ifdef SHARED_HANDLERS // Helper function that sets search content for a Search Handler - void SetSearchContent(const CString& value); + void SetSearchContent(const CString &value); #endif // SHARED_HANDLERS }; diff --git a/Test/Test/TestView.cpp b/Test/Test/TestView.cpp index d324646..44ff307 100644 --- a/Test/Test/TestView.cpp +++ b/Test/Test/TestView.cpp @@ -17,32 +17,27 @@ #define new DEBUG_NEW #endif - // CTestView IMPLEMENT_DYNCREATE(CTestView, CView) BEGIN_MESSAGE_MAP(CTestView, CView) - // Standard printing commands - ON_COMMAND(ID_FILE_PRINT, &CView::OnFilePrint) - ON_COMMAND(ID_FILE_PRINT_DIRECT, &CView::OnFilePrint) - ON_COMMAND(ID_FILE_PRINT_PREVIEW, &CView::OnFilePrintPreview) +// Standard printing commands +ON_COMMAND(ID_FILE_PRINT, &CView::OnFilePrint) +ON_COMMAND(ID_FILE_PRINT_DIRECT, &CView::OnFilePrint) +ON_COMMAND(ID_FILE_PRINT_PREVIEW, &CView::OnFilePrintPreview) END_MESSAGE_MAP() // CTestView construction/destruction -CTestView::CTestView() noexcept -{ +CTestView::CTestView() noexcept { // TODO: add construction code here - } -CTestView::~CTestView() -{ +CTestView::~CTestView() { } -BOOL CTestView::PreCreateWindow(CREATESTRUCT& cs) -{ +BOOL CTestView::PreCreateWindow(CREATESTRUCT &cs) { // TODO: Modify the Window class or styles here by modifying // the CREATESTRUCT cs @@ -51,9 +46,8 @@ BOOL CTestView::PreCreateWindow(CREATESTRUCT& cs) // CTestView drawing -void CTestView::OnDraw(CDC* /*pDC*/) -{ - CTestDoc* pDoc = GetDocument(); +void CTestView::OnDraw(CDC * /*pDC*/) { + CTestDoc *pDoc = GetDocument(); ASSERT_VALID(pDoc); if (!pDoc) return; @@ -61,45 +55,37 @@ void CTestView::OnDraw(CDC* /*pDC*/) // TODO: add draw code for native data here } - // CTestView printing -BOOL CTestView::OnPreparePrinting(CPrintInfo* pInfo) -{ +BOOL CTestView::OnPreparePrinting(CPrintInfo *pInfo) { // default preparation return DoPreparePrinting(pInfo); } -void CTestView::OnBeginPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/) -{ +void CTestView::OnBeginPrinting(CDC * /*pDC*/, CPrintInfo * /*pInfo*/) { // TODO: add extra initialization before printing } -void CTestView::OnEndPrinting(CDC* /*pDC*/, CPrintInfo* /*pInfo*/) -{ +void CTestView::OnEndPrinting(CDC * /*pDC*/, CPrintInfo * /*pInfo*/) { // TODO: add cleanup after printing } - // CTestView diagnostics #ifdef _DEBUG -void CTestView::AssertValid() const -{ +void CTestView::AssertValid() const { CView::AssertValid(); } -void CTestView::Dump(CDumpContext& dc) const -{ +void CTestView::Dump(CDumpContext &dc) const { CView::Dump(dc); } -CTestDoc* CTestView::GetDocument() const // non-debug version is inline +CTestDoc *CTestView::GetDocument() const // non-debug version is inline { ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CTestDoc))); - return (CTestDoc*)m_pDocument; + return (CTestDoc *)m_pDocument; } #endif //_DEBUG - // CTestView message handlers diff --git a/Test/Test/TestView.h b/Test/Test/TestView.h index 14c192e..281ddeb 100644 --- a/Test/Test/TestView.h +++ b/Test/Test/TestView.h @@ -4,46 +4,41 @@ #pragma once - -class CTestView : public CView -{ +class CTestView : public CView { protected: // create from serialization only CTestView() noexcept; DECLARE_DYNCREATE(CTestView) -// Attributes + // Attributes public: - CTestDoc* GetDocument() const; + CTestDoc *GetDocument() const; -// Operations + // Operations public: + // Overrides +public: + virtual void OnDraw(CDC *pDC); // overridden to draw this view + virtual BOOL PreCreateWindow(CREATESTRUCT &cs); -// Overrides -public: - virtual void OnDraw(CDC* pDC); // overridden to draw this view - virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: - virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); - virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); - virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); + virtual BOOL OnPreparePrinting(CPrintInfo *pInfo); + virtual void OnBeginPrinting(CDC *pDC, CPrintInfo *pInfo); + virtual void OnEndPrinting(CDC *pDC, CPrintInfo *pInfo); -// Implementation + // Implementation public: virtual ~CTestView(); #ifdef _DEBUG virtual void AssertValid() const; - virtual void Dump(CDumpContext& dc) const; + virtual void Dump(CDumpContext &dc) const; #endif protected: - -// Generated message map functions + // Generated message map functions protected: DECLARE_MESSAGE_MAP() }; -#ifndef _DEBUG // debug version in TestView.cpp -inline CTestDoc* CTestView::GetDocument() const - { return reinterpret_cast(m_pDocument); } +#ifndef _DEBUG // debug version in TestView.cpp +inline CTestDoc *CTestView::GetDocument() const { return reinterpret_cast(m_pDocument); } #endif - diff --git a/Test/Test/framework.h b/Test/Test/framework.h index 36afc12..fb3b916 100644 --- a/Test/Test/framework.h +++ b/Test/Test/framework.h @@ -1,49 +1,36 @@ #pragma once #ifndef VC_EXTRALEAN -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers +#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 +#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 - - -#include // MFC Automation classes - +#include // MFC core and standard components +#include // MFC extensions +#include // MFC Automation classes #ifndef _AFX_NO_OLE_SUPPORT -#include // MFC support for Internet Explorer 4 Common Controls +#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 - - - - - - - +#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='*'\"") +#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='*'\"") +#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='*'\"") +#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/Test/Test/pch.h b/Test/Test/pch.h index 885d5d6..cc75712 100644 --- a/Test/Test/pch.h +++ b/Test/Test/pch.h @@ -10,4 +10,4 @@ // add headers that you want to pre-compile here #include "framework.h" -#endif //PCH_H +#endif // PCH_H