IDM_ATOMICSELECTION Command ID

When this command is issued in design mode, any element that has an ATOMICSELECTION attribute set to TRUE will be selectable only as a unit.

C++ Information

Command group CGID_MSHTML (defined in mshtmhst.h)
Symbolic constant IDM_ATOMICSELECTION
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.
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

Usually, elements with an ATOMICSELECTION attribute are selected as a unit in browse mode only. In design mode, the MSHTML Editor's default behavior allows you to locate the insertion point in the text of any element, including elements with an ATOMICSELECTION attribute. This command allows you to override the default Editor behavior.

Minimum Availability

Internet Explorer 5.5 and later.

See Also

Using the MSHTML Editor's Extra Features

Community Additions

ADD
Show:
© 2014 Microsoft