// MainFrm.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_MAINFRM_H__874D37D9_4899_404C_95AD_8463196C173C__INCLUDED_) # define AFX_MAINFRM_H__874D37D9_4899_404C_95AD_8463196C173C__INCLUDED_ # if _MSC_VER > 1000 # pragma once # endif // _MSC_VER > 1000 # include "PropertiesDialog.h" class CMainFrame : public CXTPFrameWnd , CXTPCommandBarsFrameHook { protected: // create from serialization only CMainFrame(); DECLARE_DYNCREATE(CMainFrame) public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMainFrame) virtual BOOL PreCreateWindow(CREATESTRUCT& cs); //}}AFX_VIRTUAL // Implementation public: virtual ~CMainFrame(); # ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; # endif CXTPStatusBar m_wndStatusBar; CToolBar m_wndToolBar; CPropertiesDialog m_wndProperties; // Generated message map functions protected: //{{AFX_MSG(CMainFrame) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI); afx_msg void OnClose(); afx_msg void OnCustomize(); BOOL m_bRTL; afx_msg void OnViewRTL(); afx_msg void OnUpdateViewRTL(CCmdUI* pCmdUI); afx_msg void OnUpdateProperties(CCmdUI* pCmdUI); afx_msg void OnPropertiesDlg(); afx_msg void OnThemeDlg(); afx_msg int OnCreateControl(LPCREATECONTROLSTRUCT lpCreateControl); afx_msg LRESULT OnThemeChanged(WPARAM wParam, LPARAM lParam); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: BOOL m_bThemeApplied; XTPPaintTheme m_nAppliedTheme; CThemeDlg m_dlgTheme; CString m_strAppliedThemeSettings; void InitThemeDlg(); void UpdateTheme(); void EnableTheme(XTPPaintTheme nTheme, LPCTSTR lpzThemeSettings, BOOL bEnable = TRUE); void SetTooltipStyle(XTPToolTipStyle nStyle); void UpdateChildrenTheme(); void DisableStyle(); void EnableNoStyle(BOOL bEnable = TRUE); void EnableStyleOffice2000(BOOL bEnable = TRUE); void EnableStyleOfficeXP(BOOL bEnable = TRUE); void EnableStyleOffice2003(BOOL bEnable = TRUE); void EnableStyleOffice2007(BOOL bEnable = TRUE); void EnableStyleOffice2007System(BOOL bEnable = TRUE); void EnableStyleOffice2010(BOOL bEnable = TRUE); void EnableStyleOffice2013(BOOL bEnable = TRUE); void EnableStyleOffice2016(BOOL bEnable = TRUE); void EnableStyleVisualStudio2003(BOOL bEnable = TRUE); void EnableStyleVisualStudio2005(BOOL bEnable = TRUE); void EnableStyleVisualStudio2008(BOOL bEnable = TRUE); void EnableStyleVisualStudio2010(BOOL bEnable = TRUE); void EnableStyleVisualStudio2015(BOOL bEnable = TRUE); void EnableStyleVisualStudio2017(BOOL bEnable = TRUE); void EnableStyleVisualStudio2019(BOOL bEnable = TRUE); void EnableStyleVisualStudio2022(BOOL bEnable = TRUE); void EnableStyleWindows7(BOOL bEnable = TRUE); void EnableStyleWindows10(BOOL bEnable = TRUE); void EnableStyleWindows11(BOOL bEnable = TRUE); }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_MAINFRM_H__874D37D9_4899_404C_95AD_8463196C173C__INCLUDED_)