CGdiObject::DeleteObject

Use this member function to deletes the GDI object by freeing all system storage associated with it.

Syntax

BOOL DeleteObject ( );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

Remarks

In Windows CE, if the GDI object is currently selected into a device context, this function returns FALSE.

See Also

CGdiObject Overview, CGdiObject Member Functions, Graphical Drawing Object Classes, CGdiObject::Detach