Skip to content

Commit f805187

Browse files
committed
yy app
1 parent 2302867 commit f805187

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+11885
-0
lines changed

syrPlayer_yy/AboutDlg.cpp

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// AboutDlg.cpp : 实现文件
2+
//
3+
4+
#include "stdafx.h"
5+
#include "AboutDlg.h"
6+
7+
CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
8+
{
9+
}
10+
11+
void CAboutDlg::DoDataExchange(CDataExchange* pDX)
12+
{
13+
CDialog::DoDataExchange(pDX);
14+
DDX_Control(pDX, IDC_LINK_69120, m_L69120);
15+
DDX_Control(pDX, IDC_LINK_8095, m_L8095);
16+
DDX_Control(pDX, IDC_LINK_ZIMUZU, m_Lzimuzu);
17+
DDX_Control(pDX, IDC_STATIC_VER, m_ver);
18+
DDX_Control(pDX, IDC_STATIC_BINTIME, m_bintime);
19+
}
20+
21+
BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
22+
END_MESSAGE_MAP()
23+
24+
25+
BOOL CAboutDlg::OnInitDialog()
26+
{
27+
CDialog::OnInitDialog();
28+
29+
// TODO: 在此添加额外的初始化
30+
m_L69120.SetURL(_T("yy://join:room_id=6968677"));
31+
// m_L69120.SetLinkCursor(AfxGetApp()->LoadCursor(IDC_HAND));
32+
m_L8095.SetURL(_T("yy://join:room_id=61961377"));
33+
// m_L8095.SetLinkCursor(AfxGetApp()->LoadCursor(IDC_HAND));
34+
m_Lzimuzu.SetURL(_T("yy://join:room_id=62380660"));
35+
// m_Lzimuzu.SetLinkCursor(AfxGetApp()->LoadCursor(IDC_HAND));
36+
37+
CString str = APP_NAME;
38+
str += APP_VERSION;
39+
m_ver.SetWindowText(str);
40+
41+
m_bintime.SetWindowText(APP_BINTIME);
42+
43+
return TRUE; // return TRUE unless you set the focus to a control
44+
// 异常: OCX 属性页应返回 FALSE
45+
}

syrPlayer_yy/AboutDlg.h

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#pragma once
2+
3+
#include "resource.h"
4+
#include "HyperLink.h"
5+
#include "afxwin.h"
6+
7+
// CAboutDlg 对话框
8+
9+
#define APP_NAME _T("花弄影字幕器 ")
10+
#define APP_VERSION _T("v1.0")
11+
#define APP_BINTIME _T("2014.01.16 20:00")
12+
13+
class CAboutDlg : public CDialog
14+
{
15+
public:
16+
CAboutDlg();
17+
18+
// 对话框数据
19+
enum { IDD = IDD_ABOUTBOX };
20+
21+
public:
22+
CHyperLink m_L69120;
23+
CHyperLink m_L8095;
24+
CHyperLink m_Lzimuzu;
25+
26+
CStatic m_ver;
27+
CStatic m_bintime;
28+
29+
protected:
30+
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
31+
32+
// 实现
33+
protected:
34+
DECLARE_MESSAGE_MAP()
35+
public:
36+
virtual BOOL OnInitDialog();
37+
};

0 commit comments

Comments
 (0)