HelpContextID Property (Commands Collection Object)

[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]

Description

Returns or sets an associated context number for the Commands object. Used to provide context-sensitive Help for the Commands object.

Syntax

*agent.*Characters("CharacterID").Commands("name").HelpContextID [ = Number]

Part Description
Number An integer specifying a valid context number.

 

Remarks

If you've created a Windows Help file for your application and set the character's HelpFile property, Agent automatically calls Help when HelpModeOn is set to True and the user selects the Commands object. If you set a context number in the HelpContextID, Agent calls Help and searches for the topic identified by that context number.

This property applies only to your client application's use of the character; the setting does not affect other clients of the character or other characters of your client application.

Note

Building a Help file requires the Microsoft Windows Help Compiler.

 

See Also

HelpFile property