Expand Minimize
This topic has not yet been rated - Rate this topic

CHtmlEditCtrlBase::SetRespectVisInDesign

Hides invisible elements in design mode.

HRESULT SetRespectVisInDesign( 
   bool bNewValue  
) const;
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.

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

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

Header: afxhtml.h

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.