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

📄 fileopen.cpp

📁 基于变换域的信息隐藏技术
💻 CPP
字号:
// fileOpen.cpp : implementation file
//

#include "stdafx.h"
#include "数字水印技术.h"
#include "fileOpen.h"

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

/////////////////////////////////////////////////////////////////////////////
// CfileOpen dialog


CfileOpen::CfileOpen(CWnd* pParent /*=NULL*/)
	: CDialog(CfileOpen::IDD, pParent)
{
	//{{AFX_DATA_INIT(CfileOpen)
	m_sfilename = _T("");
	//}}AFX_DATA_INIT
}


void CfileOpen::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CfileOpen)
	DDX_Text(pDX, IDC_EDIT1, m_sfilename);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CfileOpen, CDialog)
	//{{AFX_MSG_MAP(CfileOpen)
	ON_BN_CLICKED(IDC_BUTTONfile, OnBUTTONfile)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CfileOpen message handlers

void CfileOpen::OnBUTTONfile() 
{
	// TODO: Add your control notification handler code here
	UpdateData(true);
	bool flag=1;
	CFileDialog dlg(flag,"txt","*.txt");
     if(dlg.DoModal()==IDOK)
	m_sfilename=dlg.GetPathName();

	UpdateData(false);
	
}

⌨️ 快捷键说明

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