CHtmlEditCtrlBase::SetForeColor
将当前选择的前景(文本)颜色。
HRESULT SetForeColor(
LPCTSTR szColor
) const;
HRESULT SetForeColor(
int nColor
) const;
参数
szColor
颜色。nColor
颜色。
返回值
返回在成功的S_OK或在失败时错误HRESULT。
备注
此方法 IDM FORECOLOR命令ID 发送到浏览器控件。
要求
Header: afxhtml.h