
237
USING ROBOHELP HTML 9
Context-sensitive Help
Last updated 12/14/2011
The return value is 0 for a successful result and non-zero if any error occurs.
RH_GetAIRAppPath
Call
RH_GetAIRAppPath
function to get AIR Help Application.
TCHAR * RH_GetAIRAppPath(const TCHAR * a_pszAppId,
const TCHAR * a_pszPublisherId);
The return value path of the AIR application. The user can call the function free() to free up the memory.
Note:
Data Type can also be
const wchar *
for Unicode enabled applications.
Call a context-sensitive function for WebHelp, FlashHelp, or FlashHelp Pro
The following example assumes the full path to the WebHelp/FlashHelp start page and a dialog box name are stored
in a string variable called StrPathAndWindow. An example of this string is “C:\\Program
Files\\MyApplication\WebHelp\MyStartPage.htm>MyWindow.” Do not hard-code this string.
Note:
Export the map files to the location.
Example:
To open the topic mapped as number 1:
RH_ShowHelp(GetSafeHwnd(), strPathAndWindow, HH_HELP_CONTEXT, (DWORD)1);
Note:
If using airplane Help, associate the offline Help before making calls.
a_ pszHelpId
const char *
(Optional) ID of help content to be viewed in Viewer. It is specified in
.helpcfg file.
a_pszWindowName
const char *
(Optional) Customized output window name.
ulMapNum
unsigned long
Context-sensitive map number
a_pszMapId
const char *
(Optional) Context-sensitive map ID. If specified it takes priority and
ulMapNum is ignored.
a_pszTopicURL
const char *
(Optional) URL of the topic to appear. If specified, this parameter takes
priority over ulMapNum and a_pszMapId.
Parameter
Data Type
Description
a_pszAppId
const char *
Help app ID, specified in RoboHelp during AIR generation.
a_pszPublisherId
const char *
ID corresponding to the digital certificate used for signing the AIR
application.
Содержание 65030089 - Robohelp - PC
Страница 1: ...Using ADOBE ROBOHELP HTML 9...