This topic has not yet been rated - Rate this topic

IDM_RESPECTVISIBILITY_INDESIGN Command ID

When this feature is activated, any element that has a visibility set to "hidden" or display property set to "none" will not be shown in both design mode and browse mode.

C++ Information

Command group CGID_MSHTML (defined in mshtmhst.h)
Symbolic constant IDM_RESPECTVISIBILITY_INDESIGN
User interface None. Set nCmdExecOpt to OLECMDEXECOPT_DONTPROMPTUSER.
IOleCommandTarget::Exec parameters
pvaIn VARIANT of type VT_BOOL specifying whether this feature is to be on or off. Set to NULL to toggle the feature.
pvaOut Set to NULL.
Header file mshtmcid.h
Applies to IHTMLDocument2::execCommand, IHTMLDocument2::queryCommandEnabled, IHTMLDocument2::queryCommandIndeterm, IHTMLDocument2::queryCommandState, IHTMLDocument2::queryCommandSupported, IHTMLDocument2::queryCommandValue, IOleCommandTarget::Exec, IOleCommandTarget::QueryStatus.

Remarks

Typically, the MSHTML Editor will display all content in a document, including content which would be hidden in browse mode due to the visibility or display property. This command allows you to override the Editor's default behavior.

Minimum Availability

Internet Explorer 5.5 and later.

See Also

Using the MSHTML Editor's Extra Features
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ