Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help on html help
Message
 
À
15/11/2002 14:56:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00723383
Message ID:
00723393
Vues:
9
>I have built an html help file with the MS html help workshop.
>
>I am launching a particular page in my help file by using
>
>set help to 'my help .chm'
>set topic to 'my help topic'
>help
>
>what I want to do is not only open that page but to scroll down to the particular section. For instance maybe halfway down the page is the topic I want to point to. How can I add that functionallity.
>
>I have seen it in other apps.

Hi Steve,

You can do it by using HELP ID nnn, where nnn is a numeric help context id. The mapping to contextids is accomplished through HTML Help's API features, e.g. with the use of the following two files:

In file myhelp.h:

#define IDH_MY_TOPIC 10

and in a second file, myhelp.ali:

IDH_MY_TOPIC=helppage.htm#BookmarkName

As I recall, the ability to use #... didn't work in older versions of HTML Help Workshop, but it works now (via VFP6, for example).

HTML Help Workshop generates an annoying warning message about these entries, but it seems to work fine, and it's a very useful capability.

Mike
Montage

"Free at last..."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform