📄 sendvw.h
字号:
// sendvw.h : header file
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1997 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.
#include "resrc1.h"
#include "ToolTipWnd.h"
class CSendView : public CFormView
{
protected:
CSendView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CSendView)
public:
//{{AFX_DATA(CSendView)
enum { IDD = IDD_SEND };
CButton m_guolu;
CComboBox m_typecom;
CComboBox m_list;
CString to;
BOOL sec;
CString say;
CString m_type;
CToolTipWnd ball;
//}}AFX_DATA
// Attributes
public:
BOOL m_bSendRandomMessages;
UINT m_TimerID;
CChatDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSendView)
public:
virtual BOOL DestroyWindow();
virtual void OnInitialUpdate();
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CSendView();
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CSendView)
afx_msg void OnSend();
afx_msg void OnSelchangeTo();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnClr();
afx_msg void OnGuolu();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CBrush mHollowBrush;
};
#ifndef _DEBUG // debug version in sendvw.cpp
inline CChatDoc* CSendView::GetDocument()
{ return (CChatDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -