
247
USING ROBOHELP HTML 9
Context-sensitive Help
Last updated 12/14/2011
10
Double-click the button.
11
Copy the ASP.NET context-sensitive Help example code. Paste it into the code.
12
In the code, add
using RoboHelpAPI
.
13
To test, compile and run the project. Select the Help button.
Call context-sensitive Help for WebHelp or FlashHelp from Visual Basic .NET
1
Include the RoboHelp_CSH.vb file in the project.
2
Call the
RH_ShowLocalHelp (hParent, strtHelpURL, strWndName, nCommand, nData)
function.
Call context-sensitive Help for WebHelp Pro or FlashHelp Pro from Visual Basic .NET
1
Open VisualStudio.NET.
2
Do one of the following:
•
Select File > New > Project.
•
Open a Visual Basic .NET project.
3
Navigate to the context-sensitive Help files for ASP .NET in C:\Program Files\[RoboHelp Install Folder]\CSH
API\VB.NET.
4
Copy the RoboHelp_CSH.vb file.
5
Paste the supporting files to the ASP .NET project.
6
Right-click the Reference folder. Select Add Reference.
7
Select .Net tab > System.Web.Services.Dll.
8
Click OK.
9
Right-click the Reference. Select Add Reference.
10
Select:
msxml2.dll
11
Select OK.
12
Add a button in the application.
Parameter
Data Type
Description
hParent
Object
Handle of the parent window.
strHelpURL
String
Help source for WebHelp; specifies the path to the project start page.
strWndName
String
Name of the window to be opened.
nCommand
Int
Class constants.
CSH_DISPLAY_CONTEXT
Opens the topic associated with the map ID
in the nData parameter
CSH_DISPLAY_TOC
Displays the Contents pane and the default topic
CSH_DISPLAY_INDEX
Displays the Index pane and the default topic
CSH_DISPLAY_SEARCH
Displays the Search pane and the default topic
nData
Int
Displays the map ID of the topic. To obtain the map ID, you can export the map file
for a programming language using CSH_DISPLAY_CONTEXT in
nCommand.
Содержание 65030089 - Robohelp - PC
Страница 1: ...Using ADOBE ROBOHELP HTML 9...