#if !defined(AFX_MODIFYDE_H__29D09B03_EC0E_11D2_A335_00105A07EA4A__INCLUDED_) #define AFX_MODIFYDE_H__29D09B03_EC0E_11D2_A335_00105A07EA4A__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 // ModifyDE.h : header file // ///////////////////////////////////////////////////////////////////////////// // CDicomModifyElementDlg dialog enum { OPERATION_INSERT_AFTER, OPERATION_INSERT_BEFORE, OPERATION_DELETE, OPERATION_MODIFY, }; class CDicomModifyElementDlg : public CDialog { // Construction public: CDicomModifyElementDlg(CWnd* pParent = NULL); // standard constructor CString GetUsage(int nUsage); int GetVRInfo(int nVR, CString &strVR, CString &strVRDetail); void EnableItems(int bEnable); void ShowItems(); void PopulateListBox(); void OnInsert(int bAfter); void ResizeListBox(); L_UINT16 m_nVR; CMyTreeData *m_pMyTreeData; // Dialog Data //{{AFX_DATA(CDicomModifyElementDlg) enum { IDD = IDD_MODIFY_ELEMENT_DIALOG }; CListBox m_ListValue; CMyDateTimeCtrl m_Date; CButton m_Modify; CString m_strDesc; CString m_strHint; CString m_strCode; CString m_strName; CString m_strUsage; CString m_strVR; CString m_strVRMultiplicity; CString m_strStaticInstructions; //}}AFX_DATA CString m_strValue; CString m_strVRInfo; int m_nCount; int m_bMultipleItems; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDicomModifyElementDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: HICON m_hIcon; // Generated message map functions //{{AFX_MSG(CDicomModifyElementDlg) virtual BOOL OnInitDialog(); virtual void OnOK(); afx_msg void OnModify(); afx_msg void OnInsertBefore(); afx_msg void OnInsertAfter(); afx_msg void OnDelete(); afx_msg void OnDblclkListValue(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_MODIFYDE_H__29D09B03_EC0E_11D2_A335_00105A07EA4A__INCLUDED_)