GEOS SDK TechDocs
|
|
2.2 Adding Default Normal Help
|
3 Customizing Help
HelpSendHelpNotification()
The Help Controller library provides a routine to bring up a help context, or to switch to a help context, at any time. This routine,
HelpSendHelpNotification()
, generates the proper notification event using the values you pass, then sends that notification to the help control object you've selected. This routine is detailed in the routines reference manual.
This routine becomes most useful when, for example, you want help on visible objects in a GenView or in a document. To call up a help viewer with a specific help file and context, you would have the visible object intercept both your special "help key" (e.g. the user clicks the middle mouse button) and
MSG_META_BRING_UP_HELP
, then call
HelpSendHelpNotification()
. In the handler for the input event, the object should
not
call the superclass. One example of this could be a special diagram of a floorplan, with each room a visible object; each "room" would bring up a different help context describing the characteristics of the room.
GEOS SDK TechDocs
|
|
2.2 Adding Default Normal Help
|
3 Customizing Help