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

📄 myfiledlg.cpp

📁 c语言实现的遥感图像处理的一些基本操作
💻 CPP
字号:
// MyFileDlg.cpp : implementation file
//

#include "stdafx.h"
#include "RSImageStar.h"
#include "MyFileDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMyFileDlg

IMPLEMENT_DYNAMIC(CMyFileDlg, CFileDialog)

CMyFileDlg::CMyFileDlg(BOOL bOpenFileDialog, LPCTSTR lpszDefExt, LPCTSTR lpszFileName,
		DWORD dwFlags, LPCTSTR lpszFilter, CWnd* pParentWnd) :
		CFileDialog(bOpenFileDialog, lpszDefExt, lpszFileName, dwFlags, lpszFilter, pParentWnd)
{
  	SetTemplate(0,CG_IDD_MYDIALOGBAR);
	m_bPreview=false;
}


BEGIN_MESSAGE_MAP(CMyFileDlg, CFileDialog)
	//{{AFX_MSG_MAP(CMyFileDlg)
	ON_BN_CLICKED(IDC_PREVIEW, OnPreview)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

void CMyFileDlg::OnFileNameChange( )
{

}

void CMyFileDlg::OnPreview() 
{
	m_bPreview = !m_bPreview;
}

⌨️ 快捷键说明

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