// 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__E5F900E2_DFE0_4CC8_82F9_69AF6ABE32BF__INCLUDED_) # define AFX_MAINFRM_H__E5F900E2_DFE0_4CC8_82F9_69AF6ABE32BF__INCLUDED_ # if _MSC_VER > 1000 # pragma once # endif // _MSC_VER > 1000 # include "PaneSamplesWnd.h" class CMainFrame : public CXTPFrameWnd { protected: // create from serialization only CMainFrame(); DECLARE_DYNCREATE(CMainFrame) void LoadVectorIcons(); // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMainFrame) public: virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: void OnSetPreviewMode(BOOL bPreview, CPrintPreviewState* pState); virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext); //}}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; CView* m_pEditView; CXTPDockingPaneManager m_paneManager; BOOL m_bRTL; XTPMarkupSmoothingMode m_DefaultSmoothingMode; BOOL m_bDefaultTextSmoothing; unsigned int m_nCurrentThemeID; CPaneSamplesWnd m_wndPane; CString m_strMarkupsFolder; // Generated message map functions protected: //{{AFX_MSG(CMainFrame) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnViewRTL(); afx_msg void OnUpdateViewRTL(CCmdUI* pCmdUI); afx_msg void OnSmoothingModeApplyToText(); afx_msg void OnUpdateSmoothingModeApplyToText(CCmdUI* pCmdUI); afx_msg void OnSmoothingMode(UINT nCommand); afx_msg void OnUpdateSmoothingMode(CCmdUI* pCmdUI); afx_msg void OnThemeChanged(UINT nTheme); afx_msg void OnUpdateThemeChanged(CCmdUI* pCmdUI); afx_msg int OnCreateControl(LPCREATECONTROLSTRUCT lpCreateControl); afx_msg void OnThemeUpdate(CCmdUI* pCmdUI); //}}AFX_MSG LRESULT OnDockingPaneNotify(WPARAM wParam, LPARAM lParam); LRESULT OnTaskPanelNotify(WPARAM wParam, LPARAM lParam); DECLARE_MESSAGE_MAP() void UpdateMarkupViews(); }; extern CMarkupPadApp theApp; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_MAINFRM_H__E5F900E2_DFE0_4CC8_82F9_69AF6ABE32BF__INCLUDED_)