// RibbonSample.h // // (c)1998-2025 Codejock Software, All Rights Reserved. // // THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE // RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN // CONSENT OF CODEJOCK SOFTWARE. // // THIS SOURCE CODE CAN ONLY BE USED UNDER THE TERMS AND CONDITIONS OUTLINED // IN THE XTREME TOOLKIT PRO LICENSE AGREEMENT. CODEJOCK SOFTWARE GRANTS TO // YOU (ONE SOFTWARE DEVELOPER) THE LIMITED RIGHT TO USE THIS SOFTWARE ON A // SINGLE COMPUTER. // // CONTACT INFORMATION: // support@codejock.com // http://www.codejock.com // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_RIBBONSAMPLE_H__74489F48_E565_4B03_B8D5_A9D066133B66__INCLUDED_) # define AFX_RIBBONSAMPLE_H__74489F48_E565_4B03_B8D5_A9D066133B66__INCLUDED_ # if _MSC_VER > 1000 # pragma once # endif // _MSC_VER > 1000 # ifndef __AFXWIN_H__ # error include 'stdafx.h' before including this file for PCH # endif # include "resource.h" // main symbols # include "PaneColorSet.h" ///////////////////////////////////////////////////////////////////////////// // CRibbonSampleApp: // See RibbonSample.cpp for the implementation of this class // class CRibbonSampleApp : public CXTPWinApp { public: enum AppTheme { themeOffice2007Aqua, themeOffice2007Black, themeOffice2007Blue, themeOffice2007System, themeOffice2007Silver, themeOffice2010Black, themeOffice2010Blue, themeOffice2010Silver, themeOffice2013Access, themeOffice2013Excel, themeOffice2013OneNote, themeOffice2013Outlook, themeOffice2013Publisher, themeOffice2013PowerPoint, themeOffice2013Word, themeVisualStudio2015Blue, themeVisualStudio2015Dark, themeVisualStudio2015Light, themeVisualStudio2017Blue, themeVisualStudio2017BlueExtra, themeVisualStudio2017Dark, themeVisualStudio2017Light, themeVisualStudio2019Blue, themeVisualStudio2019BlueExtra, themeVisualStudio2019Dark, themeVisualStudio2019Light, themeVisualStudio2022Blue, themeVisualStudio2022BlueExtra, themeVisualStudio2022Dark, themeVisualStudio2022Light, themeWindows7 }; AppTheme m_theme; BOOL bAllowDWM; # ifdef _XTP_INCLUDE_DOCKINGPANE CPaneColorSet m_csPane; # endif CRibbonSampleApp(); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CRibbonSampleApp) public: HINSTANCE hRichEditDll; virtual BOOL InitInstance(); virtual int ExitInstance(); //}}AFX_VIRTUAL // Implementation //{{AFX_MSG(CRibbonSampleApp) afx_msg void OnAppAbout(); // NOTE - the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG DECLARE_MESSAGE_MAP() }; extern CRibbonSampleApp theApp; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_RIBBONSAMPLE_H__74489F48_E565_4B03_B8D5_A9D066133B66__INCLUDED_)