CGdiObject::FromHandle

Use this member function to obtain a pointer to a CGdiObject object given a handle to a Windows GDI object. If a CGdiObject object is not already attached to the Windows GDI object, a temporary CGdiObject object is created and attached.

Syntax

static CGdiObject* PASCAL FromHandle( HGDIOBJ hObject );

At a Glance

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

See Also

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