This chapter describes how to use Apple Help functions to load content from your help book in Help Viewer. If you are providing contextually sensitive help, or if you have help books in addition to your primary application help book, you need to know how to access your help book using the Apple Help API.
When users choose an item from the Help menu, click a help button, or choose help from a contextual menu, your application must display the pertinent help book content in Help Viewer. To open your help book in Help Viewer, use one of the following Apple Help functions:
AHLookupAnchor opens a location in your help book identified by an anchor.
AHSearch searches your help book for a term or phrase.
Help functions are fully documented in Apple Help Reference.
Displaying an Anchor Location
Searching Your Help Book
Loading a Help Book Page
Last updated: 2007-10-31