1 Star 0 Fork 43

zhangyabin_nature / VideoEye

forked from leixiaohua1020 / VideoEye 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Audiodecode.cpp 1.77 KB
一键复制 编辑 原始数据 按行查看 历史
leixiaohua1020 提交于 2014-06-26 15:16 . Initial commit
/*
*
*
* VideoEye
*
* 雷霄骅 Lei Xiaohua
* leixiaohua1020@126.com
* 中国传媒大学/数字电视技术
* Communication University of China / Digital TV Technology
* http://blog.csdn.net/leixiaohua1020
*
*/
#include "stdafx.h"
#include "Audiodecode.h"
#include "afxdialogex.h"
// Audiodecode 对话框
IMPLEMENT_DYNAMIC(Audiodecode, CDialogEx)
Audiodecode::Audiodecode(CWnd* pParent /*=NULL*/)
: CDialogEx(Audiodecode::IDD, pParent)
{
}
Audiodecode::~Audiodecode()
{
}
void Audiodecode::DoDataExchange(CDataExchange* pDX)
{
CDialogEx::DoDataExchange(pDX);
DDX_Control(pDX, IDC_DECODEFRAME_A, m_decodeframe_a);
}
BEGIN_MESSAGE_MAP(Audiodecode, CDialogEx)
ON_BN_CLICKED(IDCANCEL, &Audiodecode::OnBnClickedCancel)
END_MESSAGE_MAP()
// Audiodecode 消息处理程序
BOOL Audiodecode::OnInitDialog()
{
CDialogEx::OnInitDialog();
CString resloader;
resloader.LoadString(IDS_AUDIODECODE);
SetWindowText(resloader);
//整行选择;有表格线;表头;单击激活
DWORD dwExStyle=LVS_EX_FULLROWSELECT|LVS_EX_GRIDLINES|LVS_EX_HEADERDRAGDROP|LVS_EX_ONECLICKACTIVATE;
m_decodeframe_a.ModifyStyle(0,LVS_SINGLESEL|LVS_REPORT|LVS_SHOWSELALWAYS);
m_decodeframe_a.SetExtendedStyle(dwExStyle);
resloader.LoadString(IDS_AUDIODECODE_NUM);
m_decodeframe_a.InsertColumn(0,resloader,LVCFMT_CENTER,60,0);
resloader.LoadString(IDS_AUDIODECODE_SIZE);
m_decodeframe_a.InsertColumn(1,resloader,LVCFMT_CENTER,60,0);
resloader.LoadString(IDS_AUDIODECODE_PTS);
m_decodeframe_a.InsertColumn(2,resloader,LVCFMT_CENTER,60,0);
resloader.LoadString(IDS_AUDIODECODE_DTS);
m_decodeframe_a.InsertColumn(3,resloader,LVCFMT_CENTER,60,0);
return TRUE;
}
void Audiodecode::OnBnClickedCancel()
{
// TODO: 在此添加控件通知处理程序代码
ShowWindow(SW_HIDE);
}
void Audiodecode::SystemClear(){
m_decodeframe_a.DeleteAllItems();
}
C++
1
https://gitee.com/zhangyabin_nature/VideoEye.git
git@gitee.com:zhangyabin_nature/VideoEye.git
zhangyabin_nature
VideoEye
VideoEye
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891