ShowHelpButton

Syntax:

ShowHelpButton( WindowID , value )

Parameters:

WindowID

=

handle of the window ( WindowID() )

value

=

ON/OFF switch (#TRUE/#FALSE)


Description:

Hide/Display the 'help' button in the window titlebar.


When the user clicks the help button in the titlebar, the cursor changes

to a question mark with a pointer and when a gadget/childwindow gets

clicked, the window callback receives a #WM_HELP message.


Example:

  OpenWindow(0,100,100,300,300,#PB_Window_SystemMenu,"Test")
  ShowHelpButton( WindowID(), #TRUE )

Remarks:

You can show the help button only when the close button (system menu) is

also shown and the minimize/maximize buttons are not shown.

The Help and Minimize/Maximize buttons dont work together.

ToolWindows can not have the help button.



Supported OS:   Windows