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

📄 userliner.cpp

📁 打开一个bmp影像
💻 CPP
字号:
// UserLiner.cpp : implementation file
//

#include "stdafx.h"
#include "bmpimgage.h"
#include "UserLiner.h"

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

/////////////////////////////////////////////////////////////////////////////
// CUserLiner dialog


CUserLiner::CUserLiner(CWnd* pParent /*=NULL*/)
	: CDialog(CUserLiner::IDD, pParent)
{
	//{{AFX_DATA_INIT(CUserLiner)
	m_fA = 0.0f;
	m_fB = 0.0f;
	//}}AFX_DATA_INIT
}


void CUserLiner::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CUserLiner)
	DDX_Text(pDX, IDC_EDIT1, m_fA);
	DDX_Text(pDX, IDC_EDIT2, m_fB);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CUserLiner, CDialog)
	//{{AFX_MSG_MAP(CUserLiner)
	ON_EN_KILLFOCUS(IDC_EDIT1, OnKillfocusEdit1)
	ON_EN_KILLFOCUS(IDC_EDIT2, OnKillfocusEdit2)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CUserLiner message handlers


BOOL CUserLiner::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	UpdateData(FALSE);
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

void CUserLiner::OnKillfocusEdit1() 
{
	// TODO: Add your control notification handler code here
	UpdateData(TRUE);

}

void CUserLiner::OnKillfocusEdit2() 
{
	// TODO: Add your control notification handler code here
	UpdateData(TRUE);

}

⌨️ 快捷键说明

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