📄 duanyuview.h
字号:
// duanyuView.h : interface of the CDuanyuView class
//
#include "ProgressDlg.h"
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DUANYUVIEW_H__86D4767E_7C63_47B1_AF75_FC32B572D585__INCLUDED_)
#define AFX_DUANYUVIEW_H__86D4767E_7C63_47B1_AF75_FC32B572D585__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CDuanyuCntrItem;
class CDuanyuView : public CRichEditView
{
protected: // create from serialization only
CDuanyuView();
DECLARE_DYNCREATE(CDuanyuView)
// Attributes
public:
CDuanyuDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDuanyuView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
protected:
virtual void OnInitialUpdate(); // called first time after construct
virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
//}}AFX_VIRTUAL
// Implementation
public:
BOOL PopFileSaveDlg(PSTR pstrFileName, PSTR pstrTitleName);
BOOL PopFileWrite(PSTR pstrFileName);
void DoCaptin(char *szTitleName);
short AskAboutSave(char *szTitleName);
static long PopFileLength(FILE *file);
BOOL PopFileRead(PSTR);
BOOL PopFileOpenDlg(PSTR,PSTR);
void PopFileInitialize();
virtual ~CDuanyuView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//HICON m_hIcon;
CProgressDlg* m_pModeless;
//{{AFX_MSG(CDuanyuView)
afx_msg void OnDestroy();
afx_msg void OnFileOpen();
afx_msg void OnFileSave();
afx_msg void OnTemdegTmg();
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in duanyuView.cpp
inline CDuanyuDoc* CDuanyuView::GetDocument()
{ return (CDuanyuDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DUANYUVIEW_H__86D4767E_7C63_47B1_AF75_FC32B572D585__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -