// ConViewView.h : interface of the CConViewView class // ///////////////////////////////////////////////////////////////////////////// //{{AFX_INCLUDES() #include "leadrastercontainerviewer.h" //}}AFX_INCLUDES #if !defined(AFX_CONVIEWVIEW_H__1345A384_5EFF_47FE_9303_FDBF1B21555F__INCLUDED_) #define AFX_CONVIEWVIEW_H__1345A384_5EFF_47FE_9303_FDBF1B21555F__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CConViewView : public CFormView { protected: // create from serialization only CConViewView(); DECLARE_DYNCREATE(CConViewView) public: //{{AFX_DATA(CConViewView) enum { IDD = IDD_CONVIEW_FORM }; #if _UNICODE CLEADRasterContainerViewer_U m_ConView; #else CLEADRasterContainerViewer m_ConView; #endif //#if _UNICODE //}}AFX_DATA // Attributes public: CConViewDoc* GetDocument(); void InsertCellFromFile(); int LoadCellFromFile(LPTSTR lpszPathName); INT CreateNewCell(TCHAR FAR * lpszPathName, UINT * uRetIndex); int m_Index; ILEADRaster *m_pTmpRaster; UINT m_CurrentActionButton[7]; UINT m_CurrentActionFlags[7]; // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CConViewView) public: virtual BOOL PreCreateWindow(CREATESTRUCT& cs); virtual BOOL PreTranslateMessage(MSG* pMsg); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support virtual void OnInitialUpdate(); // called first time after construct virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo); //}}AFX_VIRTUAL // Implementation public: virtual ~CConViewView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CConViewView) afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg BOOL OnEraseBkgnd( CDC * ); afx_msg void OnInsertCell(); afx_msg void OnPropertiesContainerproperties(); afx_msg void OnUpdatePropertiesCellproperties(CCmdUI* pCmdUI); afx_msg void OnPropertiesCellproperties(); afx_msg void OnAlphaSet(); afx_msg void OnMagSet(); afx_msg void OnOffsetSet(); afx_msg void OnResizeSet(); afx_msg void OnStackSet(); afx_msg void OnWindowlevelSet(); afx_msg void OnAlphaCustom(); afx_msg void OnRszCustom(); afx_msg void OnOffsetCustom(); afx_msg void OnStackCustom(); afx_msg void OnWindowlevelCustom(); afx_msg void OnMagCustom(); afx_msg void OnEditFreezecell(); afx_msg void OnEditTogglefreeze(); afx_msg void OnEditSelectall(); afx_msg void OnEditSelectinv(); afx_msg void OnEditDeselectall(); afx_msg void OnEditSetcellpos(); afx_msg void OnEditRemove(); afx_msg void OnStatisticsStatistics(); afx_msg void OnUpdateEditFreezecell(CCmdUI* pCmdUI); afx_msg void OnUpdateEditTogglefreeze(CCmdUI* pCmdUI); afx_msg void OnUpdateEditSelectall(CCmdUI* pCmdUI); afx_msg void OnUpdateEditSelectinv(CCmdUI* pCmdUI); afx_msg void OnUpdateEditDeselectall(CCmdUI* pCmdUI); afx_msg void OnUpdateEditSetcellpos(CCmdUI* pCmdUI); afx_msg void OnUpdateEditRemoveselected(CCmdUI* pCmdUI); afx_msg void OnUpdateEditRemove(CCmdUI* pCmdUI); afx_msg void OnEditRemoveselected(); afx_msg void OnCellTag(long hDC, long lCellIndex, long lLeft, long lTop, long lWidth, long lHeight); DECLARE_EVENTSINK_MAP() //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in ConViewView.cpp inline CConViewDoc* CConViewView::GetDocument() { return (CConViewDoc*)m_pDocument;} #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_CONVIEWVIEW_H__1345A384_5EFF_47FE_9303_FDBF1B21555F__INCLUDED_)