CHtmlEditCtrlBase::GetBackColor

检索当前选择的背景色。

HRESULT GetBackColor(
   int& nColor 
) const;

参数

  • nColor
    背景色。

返回值

返回在成功的S_OK或在失败时错误HRESULT。

备注

此方法 IDM_BACKCOLOR命令ID 发送到浏览器控件。

要求

Header: afxhtml.h

请参见

参考

CHtmlEditCtrlBase选件类

CHtmlEditCtrlBase::SetBackColor

CHtmlEditCtrlBase::GetForeColor