Поделиться через


CGdiObject::Attach

Attaches a Windows GDI object to a CGdiObject object.

BOOL Attach(
   HGDIOBJ hObject 
);

Параметры

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

Возвращаемое значение

Nonzero if attachment is successful; otherwise 0.

Требования

Header: afxwin.h

См. также

Основные понятия

CGdiObject Class

CGdiObject Members

Hierarchy Chart

CGdiObject::Detach