📄 showview.h
字号:
// ShowView.h : interface of the CShowView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_SHOWVIEW_H__32565E5F_86C2_4303_AE58_C23D072C9907__INCLUDED_)
#define AFX_SHOWVIEW_H__32565E5F_86C2_4303_AE58_C23D072C9907__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CShowView : public CView
{
protected: // create from serialization only
CShowView();
DECLARE_DYNCREATE(CShowView)
// Attributes
public:
CShowDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CShowView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnInitialUpdate();
virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo = NULL);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CShowView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
bool m_bStarFind;
int m_nStar;
char m_Char;
//CEdit m_cEdit;
//CButton m_cButtom;
//CButton m_cButtomOther;
// Generated message map functions
protected:
//{{AFX_MSG(CShowView)
afx_msg void OnFind();
afx_msg void OnUpdateFind(CCmdUI* pCmdUI);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnPaint();
afx_msg void OnSet();
afx_msg void OnUpdateSet(CCmdUI* pCmdUI);
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnStart();
afx_msg void OnUpdateStart(CCmdUI *pCmdUI);
};
#ifndef _DEBUG // debug version in ShowView.cpp
inline CShowDoc* CShowView::GetDocument()
{ return (CShowDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SHOWVIEW_H__32565E5F_86C2_4303_AE58_C23D072C9907__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -