Graphisoft®

Dialog ManagerVersion: 2.0

SystemDialog::SetCancelButtonText

Sets the caption of the [Cancel] button.

void SetCancelButtonText (const char * text);

Parameters

text
Null terminated string.

Description

Can be used only before the dialog is displayed.

Example

DG::FileDialog dlg (DG::FileDialog::OpenMultiFile);
dlg.SetTitle ("Custom Open File");
dlg.SetOKButtonText ("Open!");
dlg.SetCancelButtonText ("Cancel!");
dlg.Invoke ();