📄 imgdoc.cpp
字号:
// PicDoc.cpp : implementation file
//
#include "stdafx.h"
#include "resourceeditor.h"
#include "ImgDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CImgDoc
IMPLEMENT_DYNCREATE(CImgDoc, CResDoc)
CImgDoc::CImgDoc()
{
m_ResType = MMI_RT_IMAGE;
}
BOOL CImgDoc::OnNewDocument()
{
if (!CResDoc::OnNewDocument())
return FALSE;
return TRUE;
}
CImgDoc::~CImgDoc()
{
}
BEGIN_MESSAGE_MAP(CImgDoc, CResDoc)
//{{AFX_MSG_MAP(CImgDoc)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CImgDoc diagnostics
#ifdef _DEBUG
void CImgDoc::AssertValid() const
{
CResDoc::AssertValid();
}
void CImgDoc::Dump(CDumpContext& dc) const
{
CResDoc::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CImgDoc serialization
void CImgDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CImgDoc commands
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -