PDA

Click to See Complete Forum and Search --> : Transparent fill


Arcom
Feb 8th, 2001, 06:03 PM
Hi!

How can you create a transparent fill style using APIs only. I tried using the CreateBrushIndirect and CreateHatchBrush, but that didn't do much.

Sastraxi
Feb 8th, 2001, 08:08 PM
CreateBrushIndirect BS_HOLLOW 'BS_HOLLOW = 1
FloodFill 0,0,0 'flood fills transparently until it meets a pure black (RGB 0,0,0) pixel

Arcom
Feb 9th, 2001, 04:27 AM
OK, Thnx Sastraxi!