|
GEOS SDK TechDocs
|
|
|
2 Adding Help to Your Application
|
4 Creating Help Files
If you want to use one of the other help types, or if you want to use multiple help types in a single application, you must do more than just apply help contexts to objects. You can customize several things about the help system:
-
Help Type
You can set or change the type of help offered by your application. You must have one HelpControl object for each type of help offered. You can set different objects to display or use different help types.
-
Help File
Any object can specify the name of the file from which it draws its help. You can set the help file statically, change it dynamically, or have it defined by the GEOS.INI file.
-
Pointer Image
The help system lets you define a custom pointer image to be used when the mouse pointer is over a hyperlink. You define the image, and the help controller uses that instead of the standard link pointer.
-
Help Features
Because the HelpControl object is a controller, it has a certain feature set that may be turned on and off with
ATTR_GEN_CONTROL_REQUIRE_UI
and
ATTR_GEN_CONTROL_PROHIBIT_UI
. The features include the buttons presented to the user for navigating the help file and for closing the dialog box.
You can even create special "viewer" applications based on the help object. To make any of the above customizations, however, you must add one or more HelpControl objects to your application.
Bringing Up Initial Help
Adding the HelpControl
Sizing the Help Dialog Box
Managing Help Types
Managing Help Files
Customizing the Pointer Image
Changing the Help Features
|
GEOS SDK TechDocs
|
|
|
2 Adding Help to Your Application
|
4 Creating Help Files