Adobe 65030089 - Robohelp - PC Using Manual page 255

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

Advertisement

USING ROBOHELP HTML 10
Context-sensitive Help
Call a context-sensitive function for WebHelp Pro
Call the function.
1
The following example assumes the full path to the server and a window name are stored in a string variable called
StrPathAndWindow. The project name is required if the Auto-Merge option is set to Off. The value of this string
is
http://<servername>/robohelp/rest/search?project=<project-name>&quesn=<search-query>
getting the URL for a given keyword.
For getting the context-sensitive information, the URLs are
http://servername>/robohelp/rest/robowindow?wtype=ctx
&context=<id>[&area=<area_of_publishing>&type=project_type>]
or
http://servername>/robohelp/rest/robowindow?wtype=prj&window=<windowname>[&area=<area_of_p
ublishing>&type=<project_type>
Note: Export the map files to the location.
Example:
To open the topic mapped to number 1:
RH_ShowHelp(GetSafeHwnd(), strPathAndWindow, HH_HELP_CONTEXT, (DWORD)1);
Run and test the Help call.
2
Note: If using airplane Help, associate the offline Help before making calls.
Call a context-sensitive function for HTML Help
Call the function.
1
The following example assumes the CHM file and a window name are stored in a string variable called
StrPathAndWindow. The value of this string indicates the path to the CHM file, such as C:\Program
Files\MyApplication\MyHelp.chm>MyWindow.
Example:
To open the topic mapped as number 1:
RH_ShowHelp(GetSafeHwnd(), strPathAndWindow, HH_HELP_CONTEXT, (DWORD)1);
Run and test the Help call.
2
Notes:
• If using airplane Help, associate the offline Help before making calls.
• In WebHelp Pro projects, the Help API is supported only with RoboHelp Server or RoboEngine 3.0 or later.
Overriding the default MFC Help Handler
This topic is for Visual C++ developers who create MFC-based applications.
• As stated in the RoboHelp_CSH.h header file, the wininet.lib and hhctrl.lib libraries must be linked into the
application. The hhctrl.lib library can be in the CSH API folder in the RoboHelp installation folder.
• Include the RoboHelp_CSH.cpp file in your project.
]
Last updated 7/13/2012
249
for

Advertisement

Table of Contents
loading

This manual is also suitable for:

Robohelp html 10

Table of Contents