SetWindowTitle

All Editions  image\bltlrgss.gif Related Transactions image\bltlrgss.gif Example

The SetWindowTitle transaction assigns a label to the specified document window. This string is displayed in the window's title bar. However, this new label is not stored with the document on save, and its effect can be overridden by the SetDocumentTitle, SetPageTitle, or SetLayerTitle transactions. The label is also lost whenever the window is refreshed, as it is after a vector object is placed, after the image is rotated, and so on.

Type XTYP_EXECUTE

Syntax [SetWindowTitle(docwinID, "windowLabel")]

Parameter

Data type

Values

Meaning

docwinID

DWORD

0 | docwinID

active | specific

windowLabel

string

label, maximum 80 characters

Release information

Added in Release 3.50.

See also

Setting and requesting labels

Changing document window titles