Deleting a Bit Map

It is good practice always to delete a bit map from memory when you have finished using it. To delete a bit map, use GpiDeleteBitmap. If you have loaded a bit map from a resource file, GpiDeleteBitmap deletes only its memory version. If the bit map has not been deleted when the owning process ends, it is deleted automatically by the system.


[Back: Saving a Bit Map]
[Next: Making Bit Maps Available to Other Processes]