Delen via


CHtmlEditCtrlBase::GetBackColor

Retrieves the background color of the current selection.

HRESULT GetBackColor( 
   int& nColor  
) const;

Parameters

  • nColor
    The background color.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Remarks

This method sends the IDM_BACKCOLOR Command ID to the WebBrowser control.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class

CHtmlEditCtrlBase::SetBackColor

CHtmlEditCtrlBase::GetForeColor