BroadcastDlg.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_BROADCASTDLG_H__7150E8C8_FEB2_438D_870B_87E82399EC4F__INCLUDED_)
  12. #define AFX_BROADCASTDLG_H__7150E8C8_FEB2_438D_870B_87E82399EC4F__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. // BroadcastDlg.h : header file
  17. //
  18. #include "MyDlg.h"
  19. #include "icqwindow.h"
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CBroadcastDlg dialog
  22. class CBroadcastDlg : public CMyDlg, public IcqWindow
  23. {
  24. // Construction
  25. public:
  26. CBroadcastDlg(CWnd* pParent = NULL);   // standard constructor
  27. // Dialog Data
  28. //{{AFX_DATA(CBroadcastDlg)
  29. enum { IDD = IDD_BROADCAST };
  30. CEdit m_textEdit;
  31. CTime m_expire;
  32. CString m_text;
  33. //}}AFX_DATA
  34. // Overrides
  35. // ClassWizard generated virtual function overrides
  36. //{{AFX_VIRTUAL(CBroadcastDlg)
  37. protected:
  38. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  39. virtual void PostNcDestroy();
  40. //}}AFX_VIRTUAL
  41. private:
  42. virtual void onAck(uint32 seq);
  43. virtual void onSendError(uint32 seq);
  44. void enableControls(BOOL enable);
  45. // Implementation
  46. protected:
  47. // Generated message map functions
  48. //{{AFX_MSG(CBroadcastDlg)
  49. afx_msg void OnSend();
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. };
  53. //{{AFX_INSERT_LOCATION}}
  54. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  55. #endif // !defined(AFX_BROADCASTDLG_H__7150E8C8_FEB2_438D_870B_87E82399EC4F__INCLUDED_)