CMS_UseAlternativeColorSchemeAt
Description
Defines when end user cancellation messages should be displayed using an Alternative Color Scheme(ACS). This will only have effect if CDM_DefineEndUserCancellation is called. Function should be called before Job_InstallationStart.
In the example below only the last end user cancellation balloons is displayed using ACS. If you want the last 2 messages to use ACS call the function with 2 as parameter and so forth.
Â
Syntax
CMS_UseAlternativeColorSchemeAt(iRemainingCancellations) as Boolean
Â
Parameters
iRemainingCancellations
Defines at how many remaining cancellations an alternative color scheme should be active
Â
Example
VBScript
If bStatus Then bStatus = CMS_UseAlternativeColorSchemeAt(1) If bStatus Then bStatus = CDM_DefineEndUserCancellation(3, 99991231, "ALWAYS")
Â