Html help安装步骤,HTML Help

HTML Help

11/14/2006

閱讀時間 2 分鐘

本文內容

HTML Help provides many of the features of WinHelp, and adds the following features:

Support for HTML.

Support for Microsoft ActiveX and scripting.

Support for HTML image formats (.jpg, .gif, .png).

Capability to jump from a Help topic to a site on the Internet.

Capability to view the HTML code for a Help topic.

HTML Help is created with Microsoft HTML Help Workshop, which is included with Visual FoxPro. HTML Help Workshop provides a complete authoring system for HTML Help, and includes backwards compatibility that allows you to easily create HTML Help files from existing WinHelp projects. To create HTML Help files for your application, consult the online Help for the HTML Help Workshop.

A sample HTML Help project, part of the Solutions sample, is included in a .zip file, Solnhlp.zip, located in the Tools\XSource directory of HOME(0). It includes the following files:

File

Description

Solution.chm

Compiled Help file.

Solution.hhp

Project file - a text file that brings together all the elements of a help project and contains information about how a compiled help file will appear.

Solution.hhk

Index file - contains the index entries (keywords) for your index.

Solution.hhc

Table of Contents file.

Solution.ali

Alias file for context-sensitive Help support. Maps product Ids to Help topics.

Solution.hh

Header file for context-sensitive Help support. Includes product Ids.

Solution.chi

Index file used when you ship .chm files that are likely to remain on a CD-ROM, as in the case of the MSDN Library. The .chi file allows certain navigation information to be installed locally on a hard disk for quick access, while the main content lives on the CD-ROM. A .chi file should not be used in a non-CD-ROM scenario. When a .chi file is not used, all the information that would be in it remains in the .chm itself.

MSDN_ie3.css

Cascading style sheet.

MSDN_ie4.css

Cascading style sheet.

FileName.htm

Source content files.

FileName.gif

Source graphics files.

Planning Access to Online HTML Help

In addition to creating an HTML Help file that contains useful information, you need to provide a means for users of your application to access Help. There are three ways to deliver Help:

A Help menu — a menu that appears on the main menu bar of your application.

Context-sensitive Help — Help that appears when a user presses F1 (or another key that you specify) while a particular object, control, or menu option is selected.

"What's This?" Help — Help that appears when a user calls for help on a particular object or control.

Implementing HTML Help is similar to implementing WinHelp. The following sections describe how you can implement HTML Help for your application.

Planning a Help Menu

A Help menu typically contains commands that provide access to the topics in your Help system. It is strongly recommended to have a single command on your Help menu that opens your HTML Help system. Beyond that, you can place additional commands on the Help menu that provide system information, or copyright and version information about your application.

See Also

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值