Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
CGdiObject::Attach
CGdiObject                                  Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  BOOL Attach( HANDLE hObject );
 
  Parameter   Description
 
  <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
 
 
                                     -♦-