SetErrorTitle
InstallShield 2024 » InstallScript Language Reference
When a disk error occurs, the SetErrorTitle function sets the title bar for the error message that is displayed by the EnterDiskError function.
Syntax
SetErrorTitle (nErrorID, szText);
Parameters
|
Parameter |
Description |
|||||||||
|
nErrorID |
Specifies the error message box whose title you want to customize. Pass one of the following predefined constants in this parameter:
|
|||||||||
|
szText |
Specifies the title to display in the error message box. |
Return Values
|
Return Value |
Description |
|
0 |
Indicates that the function successfully changes the text in the title bar. |
|
< 0 |
Indicates that the function was unable to change the text in the title bar. |
See Also