Table of Contents

CzColour::SetRGB(2)

Description

Set the red, green and blue components of a CzColour object, using an MS Windows COLORREF struct.

Function prototype

bool CzColour::SetRGB(COLORREF ColRef);

Arguments

Name Type Comment
ColRef COLORREF The COLORREF struct containing the colour to which the CzColour object shall be set.

Return value

False if an error occurred, and true otherwise.

Comments

None.