Use this member function to deletes the GDI object by freeing all system storage associated with it.
BOOL DeleteObject ( );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
In Windows CE, if the GDI object is currently selected into a device context, this function returns FALSE.
CGdiObject Overview, CGdiObject Member Functions, Graphical Drawing Object Classes, CGdiObject::Detach