📄 seekdoc.cpp
字号:
// seekDoc.cpp : implementation of the CSeekDoc class
//
#include "stdafx.h"
#include "seek.h"
#include "seekDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSeekDoc
IMPLEMENT_DYNCREATE(CSeekDoc, CDocument)
BEGIN_MESSAGE_MAP(CSeekDoc, CDocument)
//{{AFX_MSG_MAP(CSeekDoc)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSeekDoc construction/destruction
CSeekDoc::CSeekDoc()
{
// TODO: add one-time construction code here
}
CSeekDoc::~CSeekDoc()
{
}
BOOL CSeekDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CSeekDoc serialization
void CSeekDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CSeekDoc diagnostics
#ifdef _DEBUG
void CSeekDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CSeekDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CSeekDoc commands
//DEL void CSeekDoc::OnStartInput()
//DEL {
//DEL Input i;
//DEL if(i.DoModal()==IDOK)
//DEL {
//DEL n=atoi(i.m_combo_n_val);
//DEL x=atoi(i.m_combo_x_val);
//DEL y=atoi(i.m_combo_y_val);
//DEL
//DEL }//if
//DEL }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -