BCGControlBar Pro for MFC
virtual void CBCGPButton::CleanUp ( )
virtual

Frees the allocated resources

Destroys the allocated resources such as bitmaps and icons if the Boolean CBCGPButton::m_bAutoDestroyImage protected member variable was set to TRUE. By default it is TRUE. You can decide whether the resources should be released automatically when calling the SetImage() member function.