04-16-2013 11:33 PM
A picture ring control can hold some bitmap resource, using DiscardCtrl() to remove it from a panel. I'd like to know whether it is need to discard the ring's bitmap resource firstly before discard the picture ring control?
David
04-17-2013 12:49 AM
I seem to remember that after loading the picture into the ring control you do no more need the bitmap resource. That is, if you dynamically load images with GetBitMapFromFile or similar function and SetCtrlBitmap or similar, you can DiscardBitmap immediately after these calls. If you load images with InsertListItem passing a filename as the itemLabel parameter, then you have no resources allocated other than the contro itself.
04-17-2013 01:15 AM
Hi Roberto,
Thank you for your reply!