ConfigSysChating.h
上传用户:maryhy001
上传日期:2007-05-02
资源大小:2317k
文件大小:2k
- // ConfigSysChating.h : header file
- //
- #ifndef _CONFIG_SYSCHATING_H
- #define _CONFIG_SYSCHATING_H
- #include "resource.h"
- #include "PictsViewer.h"
- #include "..publicBitmapStatic.h"
- // CConfigSysChating dialog
- class CConfigSysChating : public CPropertyPage
- {
- DECLARE_DYNCREATE(CConfigSysChating)
- // Construction
- public:
- CConfigSysChating();
- ~CConfigSysChating();
- BOOL Refresh(void);
- void RefreshHeadportrait(void);
- void GetImageFromList(CImageList *lstImages, int nImage,
- CBitmap* destBitmap);
- public:
- CPictsViewer dlgPictViewer;
- public:
- // Dialog Data
- //{{AFX_DATA(CConfigSysChating)
- enum { IDD = IDD_SYSCHAT_CONFIG };
- CBitmapStatic m_wndHeadPrev;
- UINT m_dwChatPort;
- int m_nSoundNotify;
- int m_nTipWndNotify;
- CString m_strChatLogfile;
- //}}AFX_DATA
- int m_nHeadportrait;
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(CConfigSysChating)
- public:
- virtual BOOL OnSetActive();
- virtual void OnOK();
- virtual BOOL DestroyWindow();
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CConfigSysChating)
- afx_msg void OnRdosoundnotify();
- afx_msg void OnRdotipwndnotify();
- virtual BOOL OnInitDialog();
- afx_msg void OnSelHeadpict();
- afx_msg void OnSelChatLogfile();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- afx_msg void OnHeadPortraitClicked(WPARAM wp, LPARAM lp);
- private:
- CImageList m_imglist_man,
- m_imglist_woman;
- CBitmap m_imghead;
- };
- #endif //!_CONFIG_SYSCHATING_H