MarkV - 2015-01-06

So I was looking at the API and here is what it says:

void destroy_bitmap(BITMAP *bitmap);

Destroys a memory bitmap, sub-bitmap, video memory bitmap, or system bitmap when you are finished with it. If you pass a NULL pointer this function won't do anything. See above for the restrictions as to when you are allowed to destroy the various types of bitmaps.
The bitmap must not have a mouse cursor shown on it at the time it is destroyed.

See also: create_bitmap, load_bitmap, show_mouse.

notice the line that says the bitmap must not have a mouse cursor shown on it an the time it is destroyed.

My question is......is there a way around this problem? I'm trying to develop a card game, but the card won't get destroyed with a mouse click.

If there is some workaround though this problem, will someone give me a hint?? Thanks.