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

📄 dlgbitplane.cpp

📁 图像压缩编码程序,使用霍夫曼编码方式,很好的例程序
💻 CPP
字号:
#include "stdafx.h"
#include "ImageProcessing.h"
#include "DlgCoding.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDlgBitPlane dialog


CDlgBitPlane::CDlgBitPlane(CWnd* pParent /*=NULL*/)
	: CDialog(CDlgBitPlane::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDlgBitPlane)
	m_BItNumber = 0;
	//}}AFX_DATA_INIT
}


void CDlgBitPlane::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDlgBitPlane)
	DDX_Text(pDX, IDC_BIT, m_BItNumber);
	DDV_MinMaxByte(pDX, m_BItNumber, 1, 8);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CDlgBitPlane, CDialog)
	//{{AFX_MSG_MAP(CDlgBitPlane)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDlgBitPlane message handlers

void CDlgBitPlane::OnOK() 
{	
	CDialog::OnOK();
}

⌨️ 快捷键说明

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