Function:
CreateSolidBrush(crColour)

 

Description:
Creates a solid brush object. When used to fill an area or shape, this brush creates a solid fill of a single colour.

 

Parameters:
Colour: The RGB value of the color to give the solid brush.

 

Returns:
Handle to the newly created solid brush if successful, or 0 if an error occured.

 

Example:
Click on the calc icon to view a sample of the CreateSolidBrush function.