helpref.cpp

来自「CT工作站具有打印报告、病历管理、图像处理专家词库等功能」· C++ 代码 · 共 93 行

CPP
93
字号
// HelpRef.cpp : implementation file
//

#include "stdafx.h"
#include "bxt.h"
#include "HelpRef.h"

#include "BxtDlg.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_BUTTON2, OnButton2)
	ON_BN_CLICKED(IDC_BUTTON3, OnButton3)
	ON_BN_CLICKED(IDC_BUTTON10, OnButton10)
	ON_BN_CLICKED(IDC_BUTTON4, OnButton4)
	ON_BN_CLICKED(IDC_BUTTON5, OnButton5)
	ON_BN_CLICKED(IDC_BUTTON6, OnButton6)
	ON_BN_CLICKED(IDC_BUTTON7, OnButton7)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// HelpRef message handlers

void HelpRef::OnButton1() 
{
	((CBxtDlg *)AfxGetMainWnd())->xhelp->SendMessage(WX_SETHELP,0,(LPARAM)"C:\\BXT\\HTML\\名词介绍.htm");
}

void HelpRef::OnButton2() 
{
	((CBxtDlg *)AfxGetMainWnd())->xhelp->SendMessage(WX_SETHELP,0,(LPARAM)"C:\\BXT\\HTML\\常用词汇中英对照.htm");
}

void HelpRef::OnButton3() 
{
	((CBxtDlg *)AfxGetMainWnd())->xhelp->SendMessage(WX_SETHELP,0,(LPARAM)"C:\\BXT\\HTML\\CT扫描技术.htm");
}

void HelpRef::OnButton10() 
{
	((CBxtDlg *)AfxGetMainWnd())->xhelp->SendMessage(WX_SETHELP,0,(LPARAM)"C:\\BXT\\HTML\\相关影象技术.htm");
}

void HelpRef::OnButton4() 
{
	((CBxtDlg *)AfxGetMainWnd())->xhelp->SendMessage(WX_SETHELP,0,(LPARAM)"C:\\BXT\\HTML\\比较影象学技术.htm");
}

void HelpRef::OnButton5() 
{
	((CBxtDlg *)AfxGetMainWnd())->xhelp->SendMessage(WX_SETHELP,0,(LPARAM)"C:\\BXT\\HTML\\新技术新进展.htm");
}

void HelpRef::OnButton6() 
{
	((CBxtDlg *)AfxGetMainWnd())->xhelp->SendMessage(WX_SETHELP,0,(LPARAM)"C:\\BXT\\HTML\\国外文献.htm");
}

void HelpRef::OnButton7() 
{
	((CBxtDlg *)AfxGetMainWnd())->xhelp->SendMessage(WX_SETHELP,0,(LPARAM)"C:\\BXT\\HTML\\著名专家介绍.htm");
}

⌨️ 快捷键说明

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