Condividi tramite


CGdiObject::Detach

Detaches a Windows GDI object from a CGdiObject object and returns a handle to the Windows GDI object.

HGDIOBJ Detach( );

Return Value

A HANDLE to the Windows GDI object detached; otherwise NULL if no GDI object is attached.

Requirements

Header: afxwin.h

See Also

Reference

CGdiObject Class

Hierarchy Chart

CGdiObject::Attach

Other Resources

CGdiObject Members