Share via


CStockPropImpl::put_BorderColor

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

HRESULT STDMETHODCALLTYPE put_BorderColor( 
   OLE_COLOR clrBorderColor 
);

Parameters

  • clrBorderColor
    The new border color. The OLE_COLOR data type is internally represented as a 32-bit long integer.

Return Value

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

Requirements

Header: atlctl.h

See Also

Reference

CStockPropImpl Class

CStockPropImpl::get_BorderColor