Herman
>
> Yes, minimum Width & Height is an important point.
>
It's done. I'll upload it later
> Looking from your class, you mentioned about this:
>
> *-- hPatBrush = this.CreateBrush()
> *-- hmmm.... not working. let's keep it the way
> *-- it was: the brush gets created and deleted()
> *-- everytime this method is called
>
>
> Let's make it work. CreateBrush() method doesn't have to returned
> the value because you already put the handle into hBrush property.
> So, call the CreateBrush() method from Init / MouseDown.
>
CreateBrush() checks if the handle exists and only if not creates
the brush, otherwise it simply returns the handle.
....
Oh! I am such an idiot! The last line in CreateBrush says
return = this.hBrush
and I am wonderein why it's not working