The function SelectColor opens the color selection dialog. The parameter DefaultColor is the initially selected color. The function returns either the color value $80000000 if the user clicks "Cancel" or the color selected by the user if the user clicks the "OK" button.
Please note that the color value $80000000 is actually an undefined color in the Windows OS and is used as an indicator for the cancel action of the user.
|