Visual Basic Reference
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.
object.WhatsThisHelp [= boolean]
The WhatsThisHelp property syntax has these parts:
|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.|
The settings for boolean are:
|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.|
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.