HELP: Double buffering, canvas and win32api

Im using a memory device context to draw in the paint event and copying
the result to the canvas with bitblt, but the canvas always displays a
red color with diferents amounts of black as if it was using a black
(rendered) brush.

Does anyone have an idea that can be causing the glitch ?

thanks in advance!