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


IAxWinAmbientDispatch::put_BackColor

The BackColor property specifies the ambient background color of the container.

STDMETHOD( put_BackColor )(
   OLE_COLOR clrBackground 
);

Параметры

  • clrBackground
    [in] The new value of this property.

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

A standard HRESULT value.

Заметки

The ATL host object implementation uses COLOR_BTNFACE or COLOR_WINDOW as the default value of this property (depending on whether the parent of the host window is a dialog or not).

Требования

Header: atliface.h

См. также

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

IAxWinAmbientDispatch Interface

IAxWinAmbientDispatch Members