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