Unicode Controls & Classes for VB6 - Version 4

clsCommonWrapper.CreateColorBrush Function

Creates a GDI brush with a certain color used to fill GDI shapes

Syntax
Public Function CreateColorBrush (ByVal lColor As Long) As Long
Parameters
Parameter Description
ByVal lColor As Long Color of the brush
Remarks
You must release the returned handle with the [DeleteObject] function when the created brush is useless