UseAutoDelete Advanced function If you have any dynamically allocated Bitmaps you may wish them to be automatically destroyed when the program quits. Note that this function should only be called if the Bitmap is dynamically allocated! Examples // Dynamically allocate a Bitmap //
Bitmap *myBmp = new Bitmap( ... ); // Choose the Bitmap to be automatically deleted when the program quits // myBmp->UseAutoDelete(); Other functions of the class Bitmap
Questions about UseAutoDelete? Click here. |