CONTEXT-HELP attribute

(Windows only)

When CONTEXT-HELP is TRUE, a question mark icon displays in the title bar of the window or dialog box. The default value is FALSE. This attribute must be set before the window or dialog box is realized.

Return type: LOGICAL

Access: Readable/Writable

Applies to: DIALOG-BOX widget, WINDOW widget

Due to bugs in Microsoft Windows, the question mark icon does not appear, or appears but does not function, when combined with other attribute settings that affect a window's title bar:

To summarize, you must set CONTEXT-HELP = TRUE, MIN-BUTTON = FALSE, and MAX-BUTTON = FALSE (leaving CONTROL-BOX at its default value of TRUE and SMALL-TITLE at its default value of FALSE) in order to successfully use this feature with a window widget.

Note: The preceding settings only apply to window widgets, not to dialog boxes. The question mark icon always functions correctly when used with a dialog box.