lFlags

Flags that indicate which background color, shade (or gradient) type, ball type and ball color type to use. You can use a bit wise OR (|) to specify one flag from each group.

The following flags indicate how to draw the shading:

Value

Meaning

CLRBALLS_SHADING_SINGLE

[0x0001] Use only the background color (i.e. no shading).

CLRBALLS_SHADING_LEFTRIGHT

[0x0002] Draw shading as vertical lines that move from left to right.

CLRBALLS_SHADING_TOPBOTTOM

[0x0003] Draw shading as horizontal lines that move from top to bottom.

CLRBALLS_SHADING_CIRCULAR

[0x0004] Draw shading as concentric circles.

CLRBALLS_SHADING_ELLIPTICAL

[0x0005] Draw shading as concentric ellipses.

The following flags indicate which type of ball to use:

Value

Meaning

CLRBALLS_STICKER

[0x0010] Use Balls that will overlap like stickers.

CLRBALLS_BALL

[0x0020] Use Balls that will adjust like bubbles.

The following flags indicate how to treat the background:

Value

Meaning

CLRBALLS_IMAGE

[0x0100] Make the background the same as the image.

CLRBALLS_COLOR

[0x0200] Make the background using crBkgColor and crShadingColor with the specified shade type.

The following flags indicate which type of ball coloring to use:

Value

Meaning

CLRBALLS_BALLCLR_MASK

[0x1000] Have the Ball color block image colors.

CLRBALLS_BALLCLR_OPACITY

[0x2000] Use the opacity value when combining image colors with ball colors.