⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 slstdoc.cpp

📁 中科院开源的ictprop源码,使用方法: 1、修改源码中的InputComboBox.cpp文件 InvokeAction里面的txt文件路径换成你的本地路径; 2、入口在帮助里面
💻 CPP
字号:
// SlstDoc.cpp : implementation file
//

#include "stdafx.h"
#include "prop.h"
#include "SlstDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CSlstDoc

IMPLEMENT_DYNCREATE(CSlstDoc, CDocument)

CSlstDoc::CSlstDoc()
{
}

BOOL CSlstDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;
	return TRUE;
}

CSlstDoc::~CSlstDoc()
{
}


BEGIN_MESSAGE_MAP(CSlstDoc, CDocument)
	//{{AFX_MSG_MAP(CSlstDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSlstDoc diagnostics

#ifdef _DEBUG
void CSlstDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CSlstDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CSlstDoc serialization

void CSlstDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CSlstDoc commands

void CSlstDoc::SetTitle(LPCTSTR lpszTitle) 
{
	// TODO: Add your specialized code here and/or call the base class

	CString title="SentenceWindow";
	CDocument::SetTitle(LPCTSTR(title));
	
	CDocument::SetTitle(title);
}

BOOL CSlstDoc::SaveModified() 
{
	// TODO: Add your specialized code here and/or call the base class
	return TRUE;	
//	return CDocument::SaveModified();
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -