Click to See Complete Forum and Search --> : WinGDI pattern brush problem


murat_aykut
February 15th, 2005, 04:11 AM
I have 2 hdc (one of them is for mask). And I'm using FillRect (for
rect) and Path (for ellipse). On drawing there is no problem. On
erasing if I don't use stretching still there is no problem. But if I
use StrechBlt , because of I didn't stretch my bitmap my brush don't
update it. I think that I can use SetDIBits and GetDIBits and then
again SelectObject, but it is too clumsy. Is there any other solution?
Please help.

Murat.