Share via


CStockPropImpl::put_BackColor

Call this method to set the control's background color.

HRESULT STDMETHODCALLTYPE put_BackColor( 
   OLE_COLOR clrBackColor 
);

Parameters

  • clrBackColor
    The new control background color.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Requirements

Header: atlctl.h

See Also

Reference

CStockPropImpl Class

CStockPropImpl::get_BackColor