IASControl::get_ForeColor

This method gets the foreground color of a control.

Syntax

HRESULT get_ForeColor( OLE_COLOR *pclr );

Parameters

pclr
Pointer to the foreground color of the control.

Return Values

NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.

Remarks

This method must be implemented, but can return E_NOTIMPL.

See Also

IASControl::put_ForeColor