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