Share via


CStockPropImpl::put_ForeColor

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

HRESULT STDMETHODCALLTYPE put_ForeColor( 
   OLE_COLOR clrForeColor 
);

Parameters

  • clrForeColor
    The new foreground color of the control.

Return Value

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

Requirements

Header: atlctl.h

See Also

Reference

CStockPropImpl Class

CStockPropImpl::get_ForeColor