CMS\_UseAlternativeColorSchemeAt
Description
Section titled “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
Section titled “Syntax”CMS_UseAlternativeColorSchemeAt(iRemainingCancellations) as Boolean
Parameters
Section titled “Parameters”iRemainingCancellations
Defines at how many remaining cancellations an alternative color scheme should be active
Example
Section titled “Example”VBScript
If bStatus Then bStatus = CMS_UseAlternativeColorSchemeAt(1)If bStatus Then bStatus = CDM_DefineEndUserCancellation(3, 99991231, "ALWAYS")Related functions
Section titled “Related functions”