Partager via


CHtmlEditCtrlBase::SetBackColor

Sets the background color of the current selection.

HRESULT SetBackColor( 
   int nColor  
) const; 
HRESULT SetBackColor( 
   LPCTSTR szColor  
) const;

Parameters

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::GetBackColor