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


CDC::SetAttribDC

Call this function to set the attribute device context, m_hAttribDC.

virtual void SetAttribDC(
   HDC hDC 
);

Параметры

  • hDC
    A Windows device context.

Заметки

This member function does not attach the device context to the CDC object. Only the output device context is attached to a CDC object.

Требования

Header: afxwin.h

См. также

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

CDC Class

CDC Members

Hierarchy Chart

CDC::SetOutputDC

CDC::ReleaseAttribDC

CDC::ReleaseOutputDC