Share via


CHtmlEditCtrlBase::SetRespectVisInDesign

Hides invisible elements in design mode.

HRESULT SetRespectVisInDesign( 
   bool bNewValue  
) const;

Parameters

  • bNewValue
    If true, any elements that have a visibility set to "hidden" or display property set to "none" will not be shown in both design mode and browse mode; if false, those elements will be displayed only in browse mode.

Return Value

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

Remarks

This method sends the IDM RESPECTVISIBILITY_INDESIGN command ID to the WebBrowser control.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class