Adobe 65030089 - Robohelp - PC Using Manual page 251

User manual
Hide thumbs Also See for 65030089 - Robohelp - PC:
Table of Contents

Advertisement

USING ROBOHELP HTML 10
Context-sensitive Help
5
To launch the Help system, call
and
HH_DISPLAY_TOC
dwData
Set the value of the Help source parameter (according to the Output type) in a string variable called
6
StrPathAndWindow as follows:
Note: In the following examples, the API shares the same parameters regardless of output type. The only change made
is the location of the Help file.
Stores the full path to the start page and a dialog name in a string variable called
WebHelp/FlashHelp
StrPathAndWindow. An example of this string is "C:\Program
Files\MyApplication\WebHelp\MyStartPage.htm>MyWindow."
Stores the full path to the server and a window name in a string variable called StrPathAndWindow.
WebHelp Pro
Check with the web administrator to determine whether the project name is required. (The project name is
required if the Auto-Merge option in the RoboHelp Server Configuration Manager is set to Off.)
An example of this string is
name>&quesn=<search-query>
Stores the full path to the CHM file and a dialog name in a string variable called StrPathAndWindow.
HTML Help
An example of this string is "C:\Program Files\MyApplication\MyHelp.chm>MyWindow."
Do not hard-code the string variable StrPathAndWindow.
7
To call a Help topic, call the function
to
, and
HH_HELP_CONTEXT
RH_ShowHelp syntax
RH_ShowHelp syntax
RH_ShowHelp(hParent As Long, a_pszHelpFile As String, uCommand As Long, dwData as Long) As
Boolean
Example:
To open the topic mapped to number 1:
Public cshObject as new RoboHelp_CSH .RH_ShowHelp Me.HWND, StrPathAndWindow,
cshObject.HH_HELP_CONTEXT, 1;
Notes:
• In WebHelp Pro projects, the new context-sensitive Help API is supported only with RoboHelp Server.
• Create one global RoboHelp_CSH object to use for all context-sensitive Help calls.
Airplane Help for Visual Basic applications
If using Airplane Help, associate offline Help before making function calls.
Syntax
Public Function RH_AssociateOfflineHelp(pszPrimaryHelpSource As String, pszBackupHelpSource As
String) As Boolean
with
RH_ShowHelp
uCommand
set to "0".
http://<servername>/robohelp/rest/search?project=<project-
with
RH_ShowHelp
set to the map ID of the topic.
dwData
Last updated 7/13/2012
set to
HH_DISPLAY_INDEX
set to
a_pszHelpFile
StrPathAndWindow
,
, or
HH_DISPLAY_SEARCH
,
set
uCommand
245

Advertisement

Table of Contents
loading

This manual is also suitable for:

Robohelp html 10

Table of Contents