[futurebasic] Re: Help Viewer and HTML

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2001 : Group Archive : Group : All Groups

From: Joe Lewis Wilkins <PepeToo@...>
Date: Sat, 24 Feb 2001 10:04:12 -0800
For those of you who may have missed or not received the latest ADC Developer
News, here is their lead-off Q&A, which seems very appropriate to the current
thread:

----------------------------------------
Mac OS X Tips and Tricks
----------------------------------------
Q: My application's "Help" is provided in a collection of HTML files
viewable in the Help Viewer. What is the quickest way to display
information about a particular topic?

A: Your application can call the AHLookupAnchor routine to display
help files on particular topics. AHLookupAnchor asks the Help Viewer
to search your application's help book and present the page
containing a particular HTML anchor scrolled, so that the anchor's
location is visible.

Using AHLookupAnchor in your application means your application
doesn't have to keep track of the file names where particular help
content is stored; your application only has to track the anchor
name of requested help content.

This allows your "Help" content creators greater freedom when
designing and maintaining your help content, as they can move
information from file to file, or redesign the look of your help
pages, without worrying about the help book getting out of sync with
application help requests.

For more Carbon Tips & Tricks:
http://developer.apple.com/macosx/carbon/tipsandtricks.html

Joe Wilkins