// ImgConVwView.h : interface of the CImgConVwView class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_IMGCONVWVIEW_H__7097D123_4E95_42D4_B44E_80CA0B18F8B5__INCLUDED_) #define AFX_IMGCONVWVIEW_H__7097D123_4E95_42D4_B44E_80CA0B18F8B5__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CImgConVwView : public CFormView { protected: // create from serialization only CImgConVwView(); DECLARE_DYNCREATE(CImgConVwView) public: //{{AFX_DATA(CImgConVwView) enum{ IDD = IDD_IMGCONVW_FORM }; // NOTE: the ClassWizard will add data members here //}}AFX_DATA // Attributes public: CImgConVwDoc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CImgConVwView) 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 //}}AFX_VIRTUAL // Implementation public: virtual ~CImgConVwView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CImgConVwView) afx_msg void OnInsertCell(); afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnDestroy(); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg BOOL OnEraseBkgnd(CDC* pDC); 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 OnEditRemoveSelected(); 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 OnUpdateEditRemove(CCmdUI* pCmdUI); afx_msg void OnUpdateEditRemoveSelected(CCmdUI* pCmdUI); afx_msg void OnPropertiesContainer(); afx_msg void OnPropertiesCell(); afx_msg void OnUpdatePropertiesCell(CCmdUI* pCmdUI); afx_msg void OnWindowLevelSet(); afx_msg void OnWindowLevelCustom(); afx_msg void OnAlphaSet(); afx_msg void OnAlphaCustom(); afx_msg void OnResizeSet(); afx_msg void OnResizeCustom(); afx_msg void OnStackSet(); afx_msg void OnStackCustom(); afx_msg void OnMagSet(); afx_msg void OnMagCustom(); afx_msg void OnStatistics(); afx_msg void OnOffsetSet(); afx_msg void OnOffsetCustom(); //}}AFX_MSG DECLARE_MESSAGE_MAP() public: LImageViewer m_ImageViewer; L_UINT m_arrCurrentActionButton[7]; L_UINT m_arrCurrentActionFlags[7]; private: LBitmapList m_BitmapList; private: void InsertCellFromFile(int nIndex, int nAppend); BOOL CreateNewCell(CString szText); }; #ifndef _DEBUG // debug version in ImgConVwView.cpp inline CImgConVwDoc* CImgConVwView::GetDocument() { return (CImgConVwDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_IMGCONVWVIEW_H__7097D123_4E95_42D4_B44E_80CA0B18F8B5__INCLUDED_)