Export (0) Print
Expand All

HelpProvider.GetShowHelp Method

Gets a value indicating whether the specified control's help should be displayed.

[Visual Basic]
Public Overridable Function GetShowHelp( _
   ByVal ctl As Control _
) As Boolean
[C#]
public virtual bool GetShowHelp(
 Control ctl
);
[C++]
public: virtual bool GetShowHelp(
 Control* ctl
);
[JScript]
public function GetShowHelp(
   ctl : Control
) : Boolean;

Parameters

ctl
A Control for which Help will be displayed.

Return Value

true if Help will be displayed for the control; otherwise, false.

Remarks

When you use the SetHelpKeyword or SetHelpString method to associate a keyword or prompt with a specified control, calling this method automatically returns true. You can override this behavior by passing false to the SetShowHelp method.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

HelpProvider Class | HelpProvider Members | System.Windows.Forms Namespace | GetHelpString | GetHelpKeyword | GetShowHelp | SetHelpString | SetHelpKeyword

Show:
© 2014 Microsoft