I am already using CtrlSetText() to set the text of the message and options in my custom dialog and they work great. I tried doing something similar for the title but it doesn't change. Below is a fragment of my setup script. Can anyone tell me what I'm doing wrong?
// Register the dialog in the script.
EzDefineDialog("CUSTOM1", ISUSER, "", ID_CUSTOM_DIALOG);
// Display the dialog box.
bDone = FALSE;
nCmdValue = WaitOnDialog("CUSTOM1");
CtrlSetText("CUSTOM1", ID_CUSTOM_DIALOG, title);
CtrlSetText("CUSTOM1", ID_CUSTOM_TEXT, topText);
CtrlSetText("CUSTOM1", ID_CUSTOM_OPTION1, option1Text);
CtrlSetText("CUSTOM1", ID_CUSTOM_OPTION2, option2Text);