CStockPropImpl::get_ForeColor

 

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

Syntax

      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

CStockPropImpl Class
CStockPropImpl::put_ForeColor