Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

DLGSETTITLE

Dialog Subroutine: Sets the title of a dialog box. This routine is only available for Windows.

Module

USE IFLOGM

CALL DLGSETTITLE (dlg,title)

dlg

(Input) Derived type dialog. Contains dialog box parameters. The components of the type dialog are defined with the PRIVATE attribute, and cannot be changed or individually accessed by the user.

title

(Input) Character*(*). Specifies text to be the title of the dialog box.

Use this routine when you want to specify the title for a dialog box.

Example

USE IFLOGM
INCLUDE "MYDLG.FD"
TYPE (DIALOG) mydialog
LOGICAL retlog
...
retlog = DLGINIT(IDD_mydlg, mydialog)
...
CALL DLGSETTITLE(mydialog, "New Title")
...