// dclientDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CDclientDlg dialog //{{AFX_INCLUDES() #include "leadrasterview.h" //}}AFX_INCLUDES #include "structs.h" class CDclientDlg : public CDialog { // Construction public: CDclientDlg(CWnd* pParent = NULL); // standard constructor CStatusBarCtrl m_StatusBar; CImageList m_Image; BOOL m_bWorking; long m_lSent; long m_lReceived; long m_nTime; int m_nDelta; HTREEITEM m_hParent; HTREEITEM m_hMsgParent; long m_hKey; long m_hDisplay; BOOL m_bPatientLevel; BOOL m_bPatientStudyOnly; short m_CancelPresentationID; short m_CancelMessageID; short m_nFindType; long m_nTimeout; long m_nConnection; short m_nIndex; pNETCONNECTION m_pConnection; CString m_szCalledAE; CString m_szCallingAE; CString m_szServerName; //declarations used for Security Settings long m_lSigningAlgorithm[3]; long m_lEncrAlgorithmIndex; long m_lEncrAlgorithm[2]; long m_lSigningAlgorithmIndex; __int64 m_ISCLAuthKeys[8]; long m_lCurrentISCLAuthKey; //range 1 to 8 __int64 m_ISCLEncrKeys[8]; long m_lCurrentISCLEncrKey; //range 1 to 8 void GetDefaultFile(CString &strName); void LoadDefault(); BOOL LoadNumber(CFile *File, void *pNumber, long nSize); BOOL LoadString(CFile *File, CString &strText); void SaveDefault(); void SaveString(CFile *File, CString strText); void SaveString(CFile *File, char *pszText); void SaveNumber(CFile *File, void *pNumber, long nSize); void StartStatusBar(CString szText); void StopStatusBar(CString szText); void StartTimer(); void ResetTimer(); void StopTimer(); void CloseClientConnection(); void DisplayKey(long hElement, HTREEITEM hParent); HTREEITEM RecordMessage(BOOL bOutgoing, CString szMsg, BOOL bChild, HTREEITEM hParent); void DisplayAssociate(long hPDU, HTREEITEM hParent); void DisplayCommandSet(HTREEITEM hParent); void FindAllStudy(CString szUID); void FindAllSeries(CString szUID); void FindAllImage(CString szUID); void SendCMoveCommand(); short PerformSTORECommand(long hDicomDS); void DisplayImageData(); void CleanUp(void); // Dialog Data //{{AFX_DATA(CDclientDlg) enum { IDD = IDD_DCLIENT_DIALOG }; CProgressCtrl m_Progress; CListBox m_ResultsList; CListBox m_AbstractList; CTreeCtrl m_KeyView; CTreeCtrl m_MsgList; CTreeCtrl m_FindResults; CLEADRasterView m_LEADRasterView1; //}}AFX_DATA ILEADDicomNet *m_pLEADDicomNet1;//SCU ILEADDicomNet *m_pLEADDicomNet2;//SCP ILEADDicomDS *m_pReceiveDS; ILEADDicomDS *m_pLEADDicomDS1; ILEADDicomDS *m_pLEADDicomDS2; ILEADDicomDS *m_pLEADDicomCS; CDicomNetSink *m_pDicomNetSink1;//SCU IConnectionPoint *m_pCP1; DWORD m_dwCookie1; CDicomNetSink *m_pDicomNetSink2;//SCP IConnectionPoint *m_pCP2; DWORD m_dwCookie2; // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDclientDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: HICON m_hIcon; // Generated message map functions //{{AFX_MSG(CDclientDlg) virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnPreferencesViewmessages(); afx_msg void OnClose(); afx_msg void OnCancel(); afx_msg void OnNetworkConnect(); afx_msg void OnTimer(UINT nIDEvent); afx_msg void OnNetworkConnectionstatus(); afx_msg void OnNetworkDisconnect(); afx_msg void OnNetworkRestmessagelog(); afx_msg void OnNetworkResultslog(); afx_msg void OnNetworkAbortassociation(); afx_msg void OnNetworkExit(); afx_msg void OnNetworkViewassociation(); afx_msg void OnServicesVerification(); afx_msg void OnServicesStorage(); afx_msg void OnPreferencesUids(); afx_msg void OnPreferencesAssociation(); afx_msg void OnServicesQuerypatientroot(); afx_msg void OnServicesQuerystudyroot(); afx_msg void OnClickFindresults(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnDblclkFindresults(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnSelchangedFindresults(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnClickKeyview(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnSelchangedKeyview(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnNetworkSaveentiredataset(); afx_msg void OnNetworkSaveselectedas(); afx_msg void OnServicesQuerypatientstudyonly(); afx_msg void OnPreferencesViewfit(); afx_msg void OnPreferencesViewnormal(); afx_msg void OnServicesCancel(); afx_msg void OnSecureNone(); afx_msg void OnSecureISCL(); afx_msg void OnSecureTLS(); afx_msg void OnSecureSettings(); afx_msg void OnInitMenu(CMenu* pMenu); DECLARE_EVENTSINK_MAP() //}}AFX_MSG DECLARE_MESSAGE_MAP() };