Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Visual Basic Reference

Visual Studio 6.0

WhatsThisHelp Property

See Also    Example    Applies To

Returns or sets a value that determines whether context-sensitive Help uses the What's This pop-up (provided by Help in 32-bit Windows operating systems) or the main Help window. Read-only at run time.

Syntax

object.WhatsThisHelp [= boolean]

The WhatsThisHelp property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
boolean A value that determines if Help uses the What's This pop-up, as described in Settings.

Settings

The settings for boolean are:

Setting Description
True The application uses one of the What's This access techniques to start Windows Help and load a topic identified by the WhatsThisHelpID property.
False (Default)  The application uses the F1 key to start Windows Help and load the topic identified by the HelpContextID property.

Remarks

There are three access techniques for providing What's This Help in an application. The WhatsThisHelp property must be set to True for any of these techniques to work.

  • Providing a What's This button in the title bar of the form using the WhatsThisButton property. The mouse pointer changes into the What's This state (arrow with question mark). The topic displayed is identified by the WhatsThisHelpID property of the control clicked by the user.

  • Invoking the WhatsThisMode method of a form. This produces the same behavior as clicking the What's This button without using a button. For example, you can invoke this method from a command on a menu in the menu bar of your application.

  • Invoking the ShowWhatsThis method for a particular control. The topic displayed is identified by the WhatsThisHelpID property of the control.
Show:
© 2015 Microsoft