// MainFrm.h : interface of the CMainFrame class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_MAINFRM_H__717208AA_CBE3_4CBA_9F98_41B70E81F47A__INCLUDED_) #define AFX_MAINFRM_H__717208AA_CBE3_4CBA_9F98_41B70E81F47A__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "XSplitterWnd.h" #include "leftpanewnd.h" #include "rightpanewnd.h" #include "leadrasterimglist.h" class CMainFrame : public CFrameWnd { protected: // create from serialization only CMainFrame(); DECLARE_DYNCREATE(CMainFrame) // Attributes protected: public: XSplitterWnd m_wndSplitter; // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMainFrame) public: virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext); virtual BOOL PreCreateWindow(CREATESTRUCT& cs); //}}AFX_VIRTUAL // Implementation public: virtual ~CMainFrame(); int CreateLEADImageList (); // LDicomDS m_DS; // LBitmap m_LeadBitmap; CLeftPaneWnd* m_pLeftPaneWnd; CRightPaneWnd *m_pRightPaneWnd; HWND m_hCtl; UINT m_uCount; int m_nSelItemIndex; char m_szFileName[_MAX_PATH]; #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // control bar embedded members CStatusBar m_wndStatusBar; BOOL m_bStatus; // Generated message map functions protected: //{{AFX_MSG(CMainFrame) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnFileOpen(); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnOverlaysChangeOverlayColor(); afx_msg void OnOverlaysSaveOverlay(); afx_msg void OnOverlaysShowOverlayAttributes(); afx_msg void OnOverlaysShowOverlay(); afx_msg void OnUpdateOverlaysShowOverlay(CCmdUI* pCmdUI); afx_msg void OnOverlaysInsertOverlay(); afx_msg void OnUpdateOverlaysInsertOverlay(CCmdUI* pCmdUI); afx_msg void OnUpdateOverlaysShowOverlayAttributes(CCmdUI* pCmdUI); afx_msg void OnUpdateOverlaysSaveOverlay(CCmdUI* pCmdUI); afx_msg void OnUpdateOverlaysChangeOverlayColor(CCmdUI* pCmdUI); afx_msg void OnFileSaveFile(); afx_msg void OnUpdateFileSaveFile(CCmdUI* pCmdUI); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_MAINFRM_H__717208AA_CBE3_4CBA_9F98_41B70E81F47A__INCLUDED_)