// 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__E0638929_AE60_11D4_898E_AF7EED6E8535__INCLUDED_) # define AFX_MAINFRM_H__E0638929_AE60_11D4_898E_AF7EED6E8535__INCLUDED_ # if _MSC_VER > 1000 # pragma once # endif // _MSC_VER > 1000 class CShortcutListView; # ifdef _XTP_INCLUDE_COMMANDBARS # define CMainFrameBase CXTPFrameWnd # else # ifdef _XTP_INCLUDE_CONTROLBARS # define CMainFrameBase CXTFrameWnd # else # define CMainFrameBase CFrameWnd # define CXTStatusBar CStatusBar # define CXTToolBar CToolBar # endif # endif class CMainFrame : public CMainFrameBase { protected: // create from serialization only CMainFrame(); DECLARE_DYNCREATE(CMainFrame) // Attributes protected: CXTPSplitterWnd m_wndSplitter; // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMainFrame) public: virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext); virtual BOOL PreCreateWindow(CREATESTRUCT& cs); //}}AFX_VIRTUAL // Implementation public: virtual ~CMainFrame(); CShortcutListView* GetRightPane(); # ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; # endif protected: // control bar embedded members # ifdef _XTP_INCLUDE_COMMANDBARS CXTPStatusBar m_wndStatusBar; # else CXTStatusBar m_wndStatusBar; CXTToolBar m_wndToolBar; # endif CXTPRegistryManager m_regMgr; int m_iTheme; void SetTheme(int iTheme); // Generated message map functions protected: //{{AFX_MSG(CMainFrame) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnViewSwitchTheme(); afx_msg void OnUpdateViewSwitchTheme(CCmdUI* pCmdUI); afx_msg void OnClose(); //}}AFX_MSG afx_msg void OnCustomize(); afx_msg void OnUpdateViewStyles(CCmdUI* pCmdUI); afx_msg void OnViewStyle(UINT nCommandID); DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_MAINFRM_H__E0638929_AE60_11D4_898E_AF7EED6E8535__INCLUDED_)