attrbdlg.cpp
来自「本程序为图象处理,可将八位图转换为二十四位图」· C++ 代码 · 共 56 行
CPP
56 行
// AttrbDlg.cpp : implementation file
//
#include "stdafx.h"
#include "DIB.h"
#include "AttrbDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CAttrbDlg dialog
CAttrbDlg::CAttrbDlg(CWnd* pParent /*=NULL*/)
: CDialog(CAttrbDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CAttrbDlg)
m_bit = 0;
m_width = 0;
m_height = 0;
m_size = 0;
//}}AFX_DATA_INIT
}
void CAttrbDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAttrbDlg)
DDX_Text(pDX, IDC_EDIT1, m_bit);
DDX_Text(pDX, IDC_EDIT2, m_width);
DDX_Text(pDX, IDC_EDIT3, m_height);
DDX_Text(pDX, IDC_EDIT4, m_size);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CAttrbDlg, CDialog)
//{{AFX_MSG_MAP(CAttrbDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CAttrbDlg message handlers
void CAttrbDlg::OnOK()
{
// UpdateData(TRUE);
CDialog::OnOK();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?