Re: PictureButton background color
- Posted by Derek Parnell <ddparnell at bigpond.com> Sep 13, 2002
- 380 views
Ron, this is a good question. The general process is that if you are finished with something, you should delete it. The exception is that everything gets automatically deleted when the app finishes. So, normally you don't have to worry about explicitly deleting anything. The question about bitmaps here was with the situation where a given bitmap was finished with before the applicaiton had finished. So in that case you should delete the bitmap. ---------------- cheers, Derek Parnell ----- Original Message ----- From: "Ron Tarrant" <rtarrant at sympatico.ca> To: "EUforum" <EUforum at topica.com> Sent: Friday, September 13, 2002 5:12 PM Subject: Re: PictureButton background color > > Derek Parnell wrote: > > > > Yes, delete the bitmap then recreate it. Use the deleteObject(hBMP) call. > > Does this apply to other types of objects? For instance, if TextEdit > objects are deleted during the running of an app, do they need to be > deleteObject()'ed to free resources? > > Forgive me if this is a really 'low level' question; I don't know very > much about MS Windows programming yet. > > -Ron T. > > > >