shurufaview.h
来自「这是一个提供给使用遥控器的嵌入式设备开发的一个中文拼音输入法」· C头文件 代码 · 共 80 行
H
80 行
// shurufaView.h : interface of the CShurufaView class
//
/////////////////////////////////////////////////////////////////////////////
#include "shurufaDoc.h"
#include "SYDBManip.h"
#include "RCIMEView.h" // Added by ClassView
#if !defined(AFX_SHURUFAVIEW_H__5B941F2E_7347_4115_8A2C_45CE314DCD71__INCLUDED_)
#define AFX_SHURUFAVIEW_H__5B941F2E_7347_4115_8A2C_45CE314DCD71__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define WM_GETHANZI WM_USER+100
#define WM_GETSY WM_USER+110
class CShurufaView : public CView
{
public: // create from serialization only
CShurufaView();
DECLARE_DYNCREATE(CShurufaView);
// Attributes
public:
CShurufaDoc* GetDocument();
//CSYDBManip sydbmanip;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CShurufaView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
public:
void FreeSYDB();
void LoadSYDB();
//void FreeSYDB(CSYDBManip sydbmanip);
//void LoadSYDB(CSYDBManip sydbmanip);
CSYDBManip sydb;
virtual ~CShurufaView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
int HanZiIntoString(WCHAR hanzi,CString &str);
// Generated message map functions
protected:
CFont m_pFontNum,m_pFontStr;
LOGFONT m_lfNum,m_lfStr;
int m_nNumHi;
COLORREF m_clrBand[9];
CString m_showhanzi;
WCHAR m_hanzi;
CRCIMEView* m_pIME;
//{{AFX_MSG(CShurufaView)
afx_msg void OnShurufa();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in shurufaView.cpp
inline CShurufaDoc* CShurufaView::GetDocument()
{ return (CShurufaDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SHURUFAVIEW_H__5B941F2E_7347_4115_8A2C_45CE314DCD71__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?