#if !defined(AFX_SCPPROPERTIES_H__8658E366_2CED_4A0D_BC4B_2096853C45DA__INCLUDED_) #define AFX_SCPPROPERTIES_H__8658E366_2CED_4A0D_BC4B_2096853C45DA__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // SCPProperties.h : header file // #include #include #include "PropertySheetDlg.h" #define REGISTRY_LOCATION "SOFTWARE\\LEAD Technologies, Inc.\\DicomMWLSCP" #define REGISTRY_LOCATION_CLIENTS_LIST "SOFTWARE\\LEAD Technologies, Inc.\\DicomMWLSCP\\ClientsList" ///////////////////////////////////////////////////////////////////////////// // SCPProperties dialog class CSCPProperties : public CPropertyPage { DECLARE_DYNCREATE(CSCPProperties) // Construction public: CSCPProperties(); ~CSCPProperties(); // Dialog Data //{{AFX_DATA(CSCPProperties) enum { IDD = IDD_SCPPROPERTIES }; CButton m_ButStop; CButton m_ButStart; CEdit m_cServerPort; CEdit m_cServerName; CButton m_cDeleteClient; CButton m_cAddToList; CEdit m_cClientName; CListCtrl m_ClientsList; CString m_sClientName; CString m_sServerName; UINT m_uServerPort; UINT m_uMaxClients; //}}AFX_DATA // Overrides // ClassWizard generate virtual function overrides //{{AFX_VIRTUAL(CSCPProperties) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation private: CRegKey m_cMyRegKey; CString m_sDataBasePath; L_VOID ReadDataFromRegistry(); L_VOID SaveInRegistry(); L_VOID ParseThenFill(CString sKeyVlaue); protected: // Generated message map functions //{{AFX_MSG(CSCPProperties) virtual BOOL OnInitDialog(); afx_msg void OnButaddtolist(); afx_msg void OnButDelete(); afx_msg void OnClickListClients(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnButstop(); afx_msg void OnButstart(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_SCPPROPERTIES_H__8658E366_2CED_4A0D_BC4B_2096853C45DA__INCLUDED_)