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

📄 firstwindow.cpp

📁 一篇有关数字水印的程序
💻 CPP
字号:
// FirstWindow.cpp : implementation file
//

#include "stdafx.h"
#include "WaterMarkx.h"
#include "FirstWindow.h"

#include "windows.h"

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

/////////////////////////////////////////////////////////////////////////////
// CFirstWindow dialog


CFirstWindow::CFirstWindow(CWnd* pParent /*=NULL*/)
	: CDialog(CFirstWindow::IDD, pParent)
{
	//{{AFX_DATA_INIT(CFirstWindow)
	//}}AFX_DATA_INIT
}


void CFirstWindow::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CFirstWindow)
	DDX_Control(pDX, IDOK, m_ok);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CFirstWindow, CDialog)
	//{{AFX_MSG_MAP(CFirstWindow)
	ON_WM_LBUTTONDOWN()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CFirstWindow message handlers

BOOL CFirstWindow::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here

	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

void CFirstWindow::OnLButtonDown(UINT nFlags, CPoint point) 
{
	// TODO: Add your message handler code here and/or call default
 	//	CDialog::OnCancel();

	CDialog::OnLButtonDown(nFlags, point);
}

BEGIN_EVENTSINK_MAP(CFirstWindow, CDialog)
    //{{AFX_EVENTSINK_MAP(CFirstWindow)
	ON_EVENT(CFirstWindow, IDOK, -600 /* Click */, OnClickOk, VTS_NONE)
	//}}AFX_EVENTSINK_MAP
END_EVENTSINK_MAP()

void CFirstWindow::OnClickOk() 
{
	// TODO: Add your control notification handler code here

	CDialog::OnOK();
}

⌨️ 快捷键说明

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