CGdiObject::Attach

BOOLAttach(HGDIOBJhObject**);**

Return Value

Nonzero if attachment is successful; otherwise 0.

Parameters

hObject

A HANDLE to a Windows GDI object (for example, HPEN or HBRUSH).

Remarks

Attaches a Windows GDI object to a CGdiObject object.

CGdiObject OverviewClass MembersHierarchy Chart

See Also   CGdiObject::Detach