stringview.h
来自「一个真正实用的应用程序」· C头文件 代码 · 共 56 行
H
56 行
#if !defined(AFX_STRINGVIEW_H__DF830EC1_1BE3_11D2_B299_BEA6ADB17E62__INCLUDED_)
#define AFX_STRINGVIEW_H__DF830EC1_1BE3_11D2_B299_BEA6ADB17E62__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class CStringView : public CView
{
CFont Fontl;
protected:
CStringView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CStringView)
// Attributes
public:
CWgl_32Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStringView)
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CStringView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CStringView)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STRINGVIEW_H__DF830EC1_1BE3_11D2_B299_BEA6ADB17E62__INCLUDED_)
#ifndef _DEBUG // debug version in CStringView.cpp
inline CWgl_32Doc* CStringView::GetDocument()
{ return (CWgl_32Doc*)m_pDocument; }
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?