IAxWinAmbientDispatch::get_BackColor

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

STDMETHOD( get_BackColor )( 
   OLE_COLOR* pclrBackground  
);

Parameters

  • pclrBackground
    [out] The address of a variable to receive the current 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