by Jamie <jamie_5_not_valid_after_5_Please@[EMAIL PROTECTED]
>
Oct 12, 2004 at 01:08 PM
are you setting the owner of the custom controls to the form?
and are you properlty freeing the custom controls?
the form will first call all controls it has in the owner list
and free them first before it free's it self.
Francis wrote:
> I am using a custom button component in a test program and am
> wondering how to free the resources used by this component reliably?
> When testing the program in memproof I can see that GDI region
> resource count just continues to increase when I create and destroy
> the form that these buttons are on, even though I am using the create
> and free method for creating the form.
>
> Any advice appreciated.
>
> Francis
>
>
> Francis Brightman francisbrightman@[EMAIL PROTECTED]
> Web Designer
> http://www.rwfts.com
> Software for Blind Computer Users