📄 helpref.cpp
字号:
// HelpRef.cpp : implementation file
//
#include "stdafx.h"
#include "bxt.h"
#include "bxtdlg.h"
#include "HelpRef.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// HelpRef dialog
HelpRef::HelpRef(CWnd* pParent /*=NULL*/)
: CDialog(HelpRef::IDD, pParent)
{
//{{AFX_DATA_INIT(HelpRef)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void HelpRef::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(HelpRef)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(HelpRef, CDialog)
//{{AFX_MSG_MAP(HelpRef)
ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
ON_BN_CLICKED(IDC_BUTTON6, OnButton6)
ON_BN_CLICKED(IDC_BUTTON7, OnButton7)
ON_BN_CLICKED(IDC_BUTTON3, OnButton3)
ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
ON_BN_CLICKED(IDC_BUTTON10, OnButton10)
ON_BN_CLICKED(IDC_BUTTON4, OnButton4)
ON_BN_CLICKED(IDC_BUTTON5, OnButton5)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// HelpRef message handlers
void HelpRef::OnButton1()
{
//名词解释
((CBxtDlg *)AfxGetMainWnd())->xhelp->SendMessage(WX_SETHELP,0,(LPARAM)"C:\\BXX\\HTML\\shuyu.htm");
}
void HelpRef::OnButton6()
{
//文献
((CBxtDlg *)AfxGetMainWnd())->xhelp->SendMessage(WX_SETHELP,0,(LPARAM)"C:\\BXX\\HTML\\refrence.htm");
}
void HelpRef::OnButton7()
{
//专家介绍
((CBxtDlg *)AfxGetMainWnd())->xhelp->SendMessage(WX_SETHELP,0,(LPARAM)"C:\\BXX\\HTML\\spicial.htm");
}
void HelpRef::OnButton3()
{
//超声技术
((CBxtDlg *)AfxGetMainWnd())->xhelp->SendMessage(WX_SETHELP,0,(LPARAM)"C:\\BXX\\HTML\\base.htm");
}
void HelpRef::OnButton2()
{
// 常用词汇中英对照
((CBxtDlg *)AfxGetMainWnd())->xhelp->SendMessage(WX_SETHELP,0,(LPARAM)"C:\\BXX\\HTML\\常用词汇中英对照.htm");
}
void HelpRef::OnButton10()
{
//相关影像技术
((CBxtDlg *)AfxGetMainWnd())->xhelp->SendMessage(WX_SETHELP,0,(LPARAM)"C:\\BXX\\HTML\\相关影像技术.htm");
}
void HelpRef::OnButton4()
{
//比较影像学
((CBxtDlg *)AfxGetMainWnd())->xhelp->SendMessage(WX_SETHELP,0,(LPARAM)"C:\\BXX\\HTML\\比较影像学.htm");
}
void HelpRef::OnButton5()
{
//新技术新进展
((CBxtDlg *)AfxGetMainWnd())->xhelp->SendMessage(WX_SETHELP,0,(LPARAM)"C:\\BXX\\HTML\\新技术新进展.htm");
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -