OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
chattyView.h
1// chattyView.h : interface of the CChattyView class
2//
4
5#if !defined(AFX_CHATTYVIEW_H__E1B25967_4DA7_4ABD_A404_9C60D59E1C60__INCLUDED_)
6#define AFX_CHATTYVIEW_H__E1B25967_4DA7_4ABD_A404_9C60D59E1C60__INCLUDED_
7
8#if _MSC_VER > 1000
9#pragma once
10#endif // _MSC_VER > 1000
11
12
13class CChattyView : public CFormView
14{
15protected: // create from serialization only
16 CChattyView();
17 DECLARE_DYNCREATE(CChattyView)
18
19public:
20 //{{AFX_DATA(CChattyView)
21 enum { IDD = IDD_CHATTY_FORM };
22 CEdit m_numUsers;
23 CListBox m_callbacks;
24 CListBox m_users;
25 CListBox m_list;
26 CString m_edit;
27 BOOL m_hide;
28 //}}AFX_DATA
29
30// Attributes
31public:
32 CChattyDoc* GetDocument();
33
34// Operations
35public:
36
37// Overrides
38 // ClassWizard generated virtual function overrides
39 //{{AFX_VIRTUAL(CChattyView)
40 public:
41 virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
42 protected:
43 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
44 virtual void OnInitialUpdate(); // called first time after construct
45 //}}AFX_VIRTUAL
46
47// Implementation
48public:
49 virtual ~CChattyView();
50#ifdef _DEBUG
51 virtual void AssertValid() const;
52 virtual void Dump(CDumpContext& dc) const;
53#endif
54
55protected:
56
57// Generated message map functions
58protected:
59 //{{AFX_MSG(CChattyView)
60 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
61 afx_msg void OnTimer(UINT nIDEvent);
62 afx_msg void OnHide();
63 afx_msg void OnSelchangeCallbacks();
64 afx_msg void OnDblclkUsers();
65 afx_msg void OnUserBan();
66 afx_msg void OnUserGetinfo();
67 afx_msg void OnUserKick();
68 afx_msg void OnUserModeOp();
69 afx_msg void OnUserModeVoice();
70 afx_msg void OnUserModeNormal();
71 afx_msg void OnSendbutt();
72 //}}AFX_MSG
73 DECLARE_MESSAGE_MAP()
74};
75
76#ifndef _DEBUG // debug version in chattyView.cpp
77inline CChattyDoc* CChattyView::GetDocument()
78 { return (CChattyDoc*)m_pDocument; }
79#endif
80
82
83//{{AFX_INSERT_LOCATION}}
84// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
85
86#endif // !defined(AFX_CHATTYVIEW_H__E1B25967_4DA7_4ABD_A404_9C60D59E1C60__INCLUDED_)
Definition chattyDoc.h:25