📄 errorview.h
字号:
#if !defined(AFX_ERRORVIEW_H__A2B25954_939E_11D3_80F2_0050DA0B9B6F__INCLUDED_)
#define AFX_ERRORVIEW_H__A2B25954_939E_11D3_80F2_0050DA0B9B6F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ErrorView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CErrorView form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#define WM_SHOW_ERROR WM_USER + 9
class CErrorView : public CFormView
{
protected:
CErrorView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CErrorView)
// Form Data
public:
//{{AFX_DATA(CErrorView)
enum { IDD = IDD_ERROR };
CEdit m_wndEdit;
int m_numErr;
CString m_shwErr;
//}}AFX_DATA
// Attributes
public:
// Operations
protected:
void ResizeErrorMessage();
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CErrorView)
public:
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CErrorView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CErrorView)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnClose();
afx_msg void OnDestroy();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg LRESULT OnShowError(WPARAM wParam, LPARAM lParam);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ERRORVIEW_H__A2B25954_939E_11D3_80F2_0050DA0B9B6F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -