UserChat.h
资源名称:MSN.rar [点击查看]
上传用户:seeker_wen
上传日期:2016-05-23
资源大小:2084k
文件大小:2k
源码类别:
ICQ/即时通讯
开发平台:
Visual C++
- #if !defined(AFX_USERCHAT_H__2F1CCBC2_8284_473B_B8D1_9EB2F16C1371__INCLUDED_)
- #define AFX_USERCHAT_H__2F1CCBC2_8284_473B_B8D1_9EB2F16C1371__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // UserChat.h : header file
- //
- #include "chatleft.h"
- #include "chatright.h"
- /////////////////////////////////////////////////////////////////////////////
- // CUserChat dialog
- class CUserChat : public CDialog
- {
- // Construction
- public:
- CUserChat(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CUserChat)
- enum { IDD = IDD_CHAT };
- CButton m_SwitchButton;
- CButton m_BtnSender;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CUserChat)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- BOOL isOpen;
- // Implementation
- protected:
- CChatRight m_right;
- CChatLeft m_left;
- // Generated message map functions
- //{{AFX_MSG(CUserChat)
- virtual BOOL OnInitDialog();
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg BOOL OnNcCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnButtonSwitch();
- afx_msg BOOL OnEraseBkgnd(CDC* pDC);
- afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- public:
- BOOL CreateDlg(LPCTSTR lpszTemplateName, CWnd* pParentWnd)
- {
- return CWnd::CreateDlg(lpszTemplateName, pParentWnd);
- }
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_USERCHAT_H__2F1CCBC2_8284_473B_B8D1_9EB2F16C1371__INCLUDED_)