Share via


CStockPropImpl::get_ForeColor

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

HRESULT STDMETHODCALLTYPE get_ForeColor( 
   OLE_COLOR * pclrForeColor 
);

Parameters

  • pclrForeColor
    Variable that receives the controls foreground color.

Return Value

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

Requirements

Header: atlctl.h

See Also

Reference

CStockPropImpl Class

CStockPropImpl::put_ForeColor