Partager via


CHtmlEditCtrlBase::SetDisableEditFocusUI

Disables the hatched border and handles around an element that has edit focus.

HRESULT SetDisableEditFocusUI( 
   bool bNewValue  
) const;

Parameters

  • bNewValue
    If true, disables the hatched border and handles around a site selectable element when the element has "edit focus" in design mode; that is, when the text or contents of the element can be edited.

Return Value

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

Remarks

This method sends the IDM_DISABLE_EDITFOCUS_UI command ID to the WebBrowser control.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class