ConfigSysChating.h
上传用户:maryhy001
上传日期:2007-05-02
资源大小:2317k
文件大小:2k
源码类别:

网格计算

开发平台:

Visual C++

  1. // ConfigSysChating.h : header file
  2. //
  3. #ifndef _CONFIG_SYSCHATING_H
  4. #define _CONFIG_SYSCHATING_H
  5. #include "resource.h"
  6. #include "PictsViewer.h"
  7. #include "..publicBitmapStatic.h"
  8. // CConfigSysChating dialog
  9. class CConfigSysChating : public CPropertyPage
  10. {
  11. DECLARE_DYNCREATE(CConfigSysChating)
  12. // Construction
  13. public:
  14. CConfigSysChating();
  15. ~CConfigSysChating();
  16. BOOL Refresh(void);
  17. void RefreshHeadportrait(void);
  18. void GetImageFromList(CImageList *lstImages, int nImage, 
  19.  CBitmap* destBitmap);
  20. public:
  21. CPictsViewer dlgPictViewer;
  22. public:
  23. // Dialog Data
  24. //{{AFX_DATA(CConfigSysChating)
  25. enum { IDD = IDD_SYSCHAT_CONFIG };
  26. CBitmapStatic m_wndHeadPrev;
  27. UINT m_dwChatPort;
  28. int m_nSoundNotify;
  29. int m_nTipWndNotify;
  30. CString m_strChatLogfile;
  31. //}}AFX_DATA
  32. int m_nHeadportrait;
  33. // Overrides
  34. // ClassWizard generate virtual function overrides
  35. //{{AFX_VIRTUAL(CConfigSysChating)
  36. public:
  37. virtual BOOL OnSetActive();
  38. virtual void OnOK();
  39. virtual BOOL DestroyWindow();
  40. protected:
  41. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  42. //}}AFX_VIRTUAL
  43. // Implementation
  44. protected:
  45. // Generated message map functions
  46. //{{AFX_MSG(CConfigSysChating)
  47. afx_msg void OnRdosoundnotify();
  48. afx_msg void OnRdotipwndnotify();
  49. virtual BOOL OnInitDialog();
  50. afx_msg void OnSelHeadpict();
  51. afx_msg void OnSelChatLogfile();
  52. //}}AFX_MSG
  53. DECLARE_MESSAGE_MAP()
  54. afx_msg void OnHeadPortraitClicked(WPARAM wp, LPARAM lp);
  55. private:
  56. CImageList m_imglist_man, 
  57. m_imglist_woman;
  58. CBitmap m_imghead;
  59. };
  60. #endif //!_CONFIG_SYSCHATING_H