// 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" 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(); L_INT CreateLEADImageList (); LImageListControl m_ImgList; LDicomDS m_DS; LBitmap m_LeadBitmap; pDICOMELEMENT m_pElement; HWND m_hLeftPaneWnd, m_hRightPaneWnd; HWND m_hCtl; L_UINT m_uCount; L_INT m_nSelItemIndex; L_BOOL m_bShowOverlay; L_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; // 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 void OnPaletteChanged(CWnd* pFocusWnd); afx_msg BOOL OnQueryNewPalette(); afx_msg void OnSysColorChange(); //}}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_)