Syntax
BOOL Attach( HANDLE hObject );
Parameters
hObject
A HANDLE to a Windows GDI object (for example, HPEN or HBRUSH).
Remarks
Attaches a Windows GDI object to a CGdiObject object.
Return Value
TRUE if attachment is successful; otherwise FALSE.
See Also
CGdiObject::Detach