IAxWinAmbientDispatch::put_BackColor

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

STDMETHOD( put_BackColor )( 
   OLE_COLOR clrBackground  
);

Parameters

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

Return Value

A standard HRESULT value.

Remarks

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).

Requirements

Header: atliface.h

See Also

Reference

IAxWinAmbientDispatch Interface