📄 editsong.cpp
字号:
// EditSong.cpp : implementation file
//
#include "stdafx.h"
#include "YLmms.h"
#include "EditSong.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CEditSong dialog
CEditSong::CEditSong(CWnd* pParent /*=NULL*/)
: CDialog(CEditSong::IDD, pParent)
{
//{{AFX_DATA_INIT(CEditSong)
m_strsongname = _T("");
m_evaluating = _T("");
m_strformat = _T("");
//}}AFX_DATA_INIT
}
void CEditSong::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CEditSong)
DDX_Control(pDX, IDC_COMBO1, m_strrating);
DDX_Text(pDX, IDC_EDIT1, m_strsongname);
DDX_Text(pDX, IDC_EDIT2, m_evaluating);
DDX_Text(pDX, IDC_EDIT3, m_strformat);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CEditSong, CDialog)
//{{AFX_MSG_MAP(CEditSong)
ON_CBN_SELENDOK(IDC_COMBO1, OnSelendokCombo1)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CEditSong message handlers
BOOL CEditSong::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
m_strrating.AddString(_T("*"));
m_strrating.AddString(_T("**"));
m_strrating.AddString(_T("***"));
m_strrating.AddString(_T("****"));
m_strrating.AddString(_T("*****"));
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CEditSong::OnSelendokCombo1()
{
// TODO: Add your control notification handler code here
m_strrating.GetLBText(m_strrating.GetCurSel(),m_strrating2);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -