// MainFrm.h : interface of the CMainFrame class // // (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(__MAINFRM_H__) # define __MAINFRM_H__ # if _MSC_VER > 1000 # pragma once # endif // _MSC_VER > 1000 class CGaugeBrowserView; class CMainFrame : public CXTPFrameWnd { protected: // create from serialization only CMainFrame(); DECLARE_DYNCREATE(CMainFrame) // Attributes public: CString m_strAssetPath; // Operations public: CPaneAssets& GetPaneAssets() { return m_paneAssets; } CXTPStatusBarSliderPane* GetSliderPane(); // 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 protected: // control bar embedded members CXTPStatusBar m_wndStatusBar; CXTPDockingPaneManager m_paneManager; CXTPModuleHandle m_hModule; UINT m_nTheme; CString m_strMessage; CPaneGauges m_paneGauges; CPaneAssets m_paneAssets; // Generated message map functions protected: void LoadResourceDLL(); //{{AFX_MSG(CMainFrame) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnClose(); //}}AFX_MSG afx_msg LRESULT OnDockingPaneNotify(WPARAM wParam, LPARAM lParam); afx_msg void OnCustomize(); afx_msg void OnTheme(UINT nTheme); afx_msg void OnUpdateTheme(CCmdUI* pCmdUI); afx_msg void OnUpdateThemeMenu(CCmdUI* pCmdUI); afx_msg int OnCreateControl(LPCREATECONTROLSTRUCT lpCreateControl); afx_msg LRESULT OnSetMessageString(WPARAM wParam, LPARAM lParam); afx_msg LRESULT UpdateAssetsCombo(WPARAM wParam, LPARAM lParam); DECLARE_MESSAGE_MAP() friend class CGaugeView; }; ///////////////////////////////////////////////////////////////////////////// const UINT WM_UPDATEASSETSCOMBO = ::RegisterWindowMessage(_T("WM_UPDATEASSETSCOMBO")); //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(__MAINFRM_H__)