Delete bitmap after Display()

Delete bitmap after Display()

chrisdawlud
Enthusiast Enthusiast
587 Views
1 Reply
Message 1 of 2

Delete bitmap after Display()

chrisdawlud
Enthusiast
Enthusiast

How to delete the bitmap once the window created with bmap->Display() is destroyed? Maybe there is some global callback that gets called after a window gets destroyed to which I could pass bmap->getWindow() and then bmap->DeleteThis() afterwards?

0 Likes
Accepted solutions (1)
588 Views
1 Reply
Reply (1)
Message 2 of 2

istan
Advisor
Advisor
Accepted solution

samples / bmtex.cpp might answer your question..

 

0 Likes