📄 readtxtview.h
字号:
// ReadTxtView.h : interface of the CReadTxtView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_READTXTVIEW_H__A38D3DD3_51BA_48AE_B4E6_4FC3D98BEF72__INCLUDED_)
#define AFX_READTXTVIEW_H__A38D3DD3_51BA_48AE_B4E6_4FC3D98BEF72__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
//#include "IsPlayer4.h"
class CReadTxtView : public CView
{
volatile int m_nState;
LPTSTR m_pText;
WORD m_nStart;
// void LockText();
// void UnlockText();
protected: // create from serialization only
CReadTxtView();
DECLARE_DYNCREATE(CReadTxtView)
// Attributes
public:
CReadTxtDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CReadTxtView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void Serialize(CArchive& ar);
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
//}}AFX_VIRTUAL
afx_msg void OnFileOpen();
// Implementation
public:
virtual ~CReadTxtView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CReadTxtView)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
/*
TTSERROR OnAttrChange(TTSDWORD, TTSVAR);
TTSERROR OnProgress(TTSDWORD, TTSDWORD);
afx_msg void OnSynthPlayAll();
afx_msg void OnUpdateSynthPlayAll(CCmdUI* pCmdUI);
afx_msg void OnSynthPause();
afx_msg void OnUpdateSynthPause(CCmdUI* pCmdUI);
afx_msg void OnSynthPlay();
afx_msg void OnUpdateSynthPlay(CCmdUI* pCmdUI);
afx_msg void OnSynthStop();
afx_msg void OnUpdateSynthStop(CCmdUI* pCmdUI);
afx_msg LRESULT OnSynthAttrChange(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnSynthProgress(WPARAM wParam, LPARAM lParam);
*/
};
#ifndef _DEBUG // debug version in ReadTxtView.cpp
inline CReadTxtDoc* CReadTxtView::GetDocument()
{ return (CReadTxtDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_READTXTVIEW_H__A38D3DD3_51BA_48AE_B4E6_4FC3D98BEF72__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -