SendRequestDlg.h
上传用户:zslianheng
上传日期:2013-04-03
资源大小:946k
文件大小:2k
源码类别:

Linux/Unix编程

开发平台:

Visual C++

  1. /***************************************************************************
  2.  *                                                                         *
  3.  *   This program is free software; you can redistribute it and/or modify  *
  4.  *   it under the terms of the GNU General Public License as published by  *
  5.  *   the Free Software Foundation; either version 2 of the License, or     *
  6.  *   (at your option) any later version.                                   *
  7.  *                                                                         *
  8.  *   copyright            : (C) 2002 by Zhang Yong                         *
  9.  *   email                : z-yong163@163.com                              *
  10.  ***************************************************************************/
  11. #if !defined(AFX_SENDREQUESTDLG_H__39A5FB7C_D28A_4E7A_B16E_F5BEA7D24051__INCLUDED_)
  12. #define AFX_SENDREQUESTDLG_H__39A5FB7C_D28A_4E7A_B16E_F5BEA7D24051__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. // SendRequestDlg.h : header file
  17. //
  18. #include "MyDlg.h"
  19. #include "icqwindow.h"
  20. #include "BtnST.h"
  21. class IcqContact;
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CSendRequestDlg dialog
  24. class CSendRequestDlg : public CMyDlg, public IcqWindow
  25. {
  26. // Construction
  27. public:
  28. CSendRequestDlg(const char *name, IcqContact *c, CWnd* pParent = NULL);   // standard constructor
  29. CSendRequestDlg(IcqMsg *msg, CWnd *pParent = NULL);
  30. // Dialog Data
  31. //{{AFX_DATA(CSendRequestDlg)
  32. enum { IDD = IDD_SEND_REQUEST };
  33. CEdit m_textEdit;
  34. CButtonST m_faceButton;
  35. CString m_nick;
  36. CString m_uin;
  37. CString m_text;
  38. //}}AFX_DATA
  39. private:
  40. virtual void onAck(uint32 seq);
  41. void init();
  42. CString sessionName;
  43. uint16 port;
  44. IcqContact *contact;
  45. BOOL isSend;
  46. int frame;
  47. // Overrides
  48. // ClassWizard generated virtual function overrides
  49. //{{AFX_VIRTUAL(CSendRequestDlg)
  50. protected:
  51. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  52. //}}AFX_VIRTUAL
  53. // Implementation
  54. protected:
  55. // Generated message map functions
  56. //{{AFX_MSG(CSendRequestDlg)
  57. virtual BOOL OnInitDialog();
  58. virtual void OnOK();
  59. afx_msg void OnTimer(UINT nIDEvent);
  60. //}}AFX_MSG
  61. DECLARE_MESSAGE_MAP()
  62. };
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  65. #endif // !defined(AFX_SENDREQUESTDLG_H__39A5FB7C_D28A_4E7A_B16E_F5BEA7D24051__INCLUDED_)