◄CGdiObject► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── virtual ~CGdiObject(); Remarks Destructor for the CGdiObject class. Calls DeleteObject to delete the attached Windows GDI object and then deallocates the CGdiObject object. If you don't want to delete the attached Windows GDI object when deleting a CGdiObject object, call Detach before deleting the CGdiObject object. See Also ◄CGdiObject::Detach►, ◄CGdiObject::DeleteObject► -♦-