// PropertiesPane.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 // ///////////////////////////////////////////////////////////////////////////// #pragma once class CPropertiesPane : public CWnd { DECLARE_DYNAMIC(CPropertiesPane); // Construction public: CPropertiesPane(); // Operations public: // Overrides public: virtual ~CPropertiesPane(); void SetOwnerPane(CXTPDockingPane* pPane); void LoadRasterIcons(); void LoadVectorIcons(); // Implementation protected: afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnPaint(); afx_msg void OnSetFocus(CWnd* pOldWnd); afx_msg LRESULT OnSetControlTheme(WPARAM wParam, LPARAM lParam); afx_msg void OnPanePropertiesCategorized(); afx_msg void OnUpdatePanePropertiesCategorized(CCmdUI* pCmdUI); afx_msg void OnPanePropertiesAlphabetic(); afx_msg void OnUpdatePanePropertiesAlphabetic(CCmdUI* pCmdUI); DECLARE_MESSAGE_MAP() // Attributes private: CXTPPropertyGrid m_wndPropertyGrid; CXTPToolBar m_wndToolBar; CXTPDockingPane* m_pPane; CRect m_rcMargin; }; AFX_INLINE void CPropertiesPane::SetOwnerPane(CXTPDockingPane* pPane) { m_pPane = pPane; }