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

📄 pic_256_dlg.cpp

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

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

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

/////////////////////////////////////////////////////////////////////////////
// CPIC_256_DLG dialog


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


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


BEGIN_MESSAGE_MAP(CPIC_256_DLG, CDialog)
	//{{AFX_MSG_MAP(CPIC_256_DLG)
	ON_BN_CLICKED(IDC_PIC_LIULAN_256, OnPicLiulan256)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CPIC_256_DLG message handlers

void CPIC_256_DLG::OnPicLiulan256() 
{
	// TODO: Add your control notification handler code here
	UpdateData(true);
	bool flag=1;
	CFileDialog dlg(flag,"bmp","*.bmp");
     if(dlg.DoModal()==IDOK)
	m_spathname=dlg.GetPathName();

	UpdateData(false);
	
}

⌨️ 快捷键说明

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