It's not an urgent issue, but I have to ask: Is there any way to unload a loaded image from a miniwindow? I haven't been able to find one, but it would be nice to have in order to remove temporary images that I have no plans to reuse. This goes for the image ID, too; I assume that the previous bitmap is released when a new image is loaded with the same ID, but if I have no plans to reuse even the ID, I'd rather remove the image myself altogether.
Unload an image?
Posted by Twisol on Sun 13 Dec 2009 08:27 PM — 3 posts, 9,542 views.
There is an existing provision, that if you load an image with WindowLoadImage, and the empty string as the file name (ie. file name of "") then any existing image matching the Image ID will be deleted. This will return eOK.
I have amended the help file in version 4.45 to reflect this (however the code is already there).
This deletes the Image ID as well.
I have amended the help file in version 4.45 to reflect this (however the code is already there).
This deletes the Image ID as well.
Ahh, great, thanks!