TalkDlg.h
上传用户:guangzhiyw
上传日期:2007-01-09
资源大小:495k
文件大小:2k
源码类别:

ICQ/即时通讯

开发平台:

Visual C++

  1. #if !defined(AFX_TALKDLG_H__E1A23953_51A9_11D5_B139_E09F3742E700__INCLUDED_)
  2. #define AFX_TALKDLG_H__E1A23953_51A9_11D5_B139_E09F3742E700__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // TalkDlg.h : header file
  7. //
  8. #include "bmpbutton.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CTalkDlg dialog
  11. class CTalkDlg : public CDialog
  12. {
  13. // Construction
  14. public:
  15. CTalkDlg(CWnd* pParent = NULL);   // standard constructor
  16. CClientApp* GetApp(){return (CClientApp*)AfxGetApp();};
  17. // Dialog Data
  18. //{{AFX_DATA(CTalkDlg)
  19. enum { IDD = IDD_SEND_MESS };
  20. CBmpButton m_headBmp;
  21. CEdit m_TalkRecord;
  22. CEdit m_TalkEdit;
  23. CString m_strEmail;
  24. CString m_strID;
  25. CString m_strName;
  26. //}}AFX_DATA
  27. UserInfo * pInfo;
  28. FriendState * pState;
  29. int nPhotoId;
  30. HICON hIcon;
  31. BOOL bClosed;
  32. BOOL m_bCancel;
  33. // Overrides
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CTalkDlg)
  36. public:
  37. virtual BOOL PreTranslateMessage(MSG* pMsg);
  38. protected:
  39. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  40. //}}AFX_VIRTUAL
  41. // Implementation
  42. protected:
  43. // Generated message map functions
  44. //{{AFX_MSG(CTalkDlg)
  45. virtual BOOL OnInitDialog();
  46. virtual void OnOK();
  47. afx_msg void OnShowTalk();
  48. afx_msg void OnShowDetail();
  49. afx_msg void OnClose();
  50. virtual void OnCancel();
  51. //}}AFX_MSG
  52. afx_msg LRESULT OnSendMsg(WPARAM wParam,LPARAM lParam);
  53. afx_msg LRESULT OnRefreshData(WPARAM wParam,LPARAM lParam);
  54. DECLARE_MESSAGE_MAP()
  55. };
  56. //{{AFX_INSERT_LOCATION}}
  57. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  58. #endif // !defined(AFX_TALKDLG_H__E1A23953_51A9_11D5_B139_E09F3742E700__INCLUDED_)