Sow on a maxgui canvas

BlitzMax Forums/BlitzMax GUI Programming/Sow on a maxgui canvas

    					BitBlt(hdc, x, y, _bgw,_bgh, hdc3, 0, 0, SRCAND);
						BitBlt(hdc, x, y, _bgw,_bgh, hdc2, 0, 0, SRCPAINT);


tried with this (hdc3 is a mask made from all red pixels) however it looks like its working but there is somthing black behind the panel?

maybe theres a CreateWindowEx flag??