CAPTION Statement

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This resource-definition statement sets the title for a dialog box. The title appears in the box's caption bar, if one exists.

CAPTION "captiontext"

Parameters

  • captiontext
    Specifies a character string that is enclosed in double quotation marks (").

Remarks

The default caption is empty.

Example

The following code example shows how to use the CAPTION statement.

CAPTION "Error!"