Compartir a través de


Commands J-M (C++)

Command identifiers J-M for C++.

  • IDM_JUSTIFYCENTER
  • IDM_JUSTIFYFULL
  • IDM_JUSTIFYLEFT
  • IDM_JUSTIFYNONE
  • IDM_JUSTIFYRIGHT
  • IDM_LISTBOX
  • IDM_LIVERESIZE
  • IDM_MARQUEE
  • IDM_MULTIPLESELECTION

IDM_JUSTIFYCENTER

Centers the format block in which the current selection is located.

Command group CGID_MSHTML (defined in mshtmhst.h)
Symbolic constant IDM_JUSTIFYCENTER
Header file mshtmcid.h

 

Call IOleCommandTarget::Exec with the following parameters.

  • nCmdExecOpt
    Set to OLECMDEXECOPT_DONTPROMPTUSER.

  • pvaIn
    Set to NULL.

  • pvaOut
    Set to NULL.

IDM_JUSTIFYFULL

Not supported.

Command group CGID_MSHTML (defined in mshtmhst.h)
Symbolic constant IDM_JUSTIFYFULL
Header file mshtmcid.h

 

IDM_JUSTIFYLEFT

Left-justifies the format block in which the current selection is located.

Command group CGID_MSHTML (defined in mshtmhst.h)
Symbolic constant IDM_JUSTIFYLEFT
Header file mshtmcid.h

 

Call IOleCommandTarget::Exec with the following parameters.

  • nCmdExecOpt
    Set to OLECMDEXECOPT_DONTPROMPTUSER.

  • pvaIn
    Set to NULL.

  • pvaOut
    Set to NULL.

IDM_JUSTIFYNONE

Not supported.

Command group CGID_MSHTML (defined in mshtmhst.h)
Symbolic constant IDM_JUSTIFYNONE
Header file mshtmcid.h

 

IDM_JUSTIFYRIGHT

Right-justifies the format block in which the current selection is located.

Command group CGID_MSHTML (defined in mshtmhst.h)
Symbolic constant IDM_JUSTIFYRIGHT
Header file mshtmcid.h

 

Call IOleCommandTarget::Exec with the following parameters.

  • nCmdExecOpt
    Set to OLECMDEXECOPT_DONTPROMPTUSER.

  • pvaIn
    Set to NULL.

  • pvaOut
    Set to NULL.

IDM_LISTBOX

Overwrites a list box selection control on the text selection.

Command group CGID_MSHTML (defined in mshtmhst.h)
Symbolic constant IDM_LISTBOX
Header file mshtmcid.h

 

Call IOleCommandTarget::Exec with the following parameters.

  • nCmdExecOpt
    Set to OLECMDEXECOPT_DONTPROMPTUSER.

  • pvaIn
    VARIANT of type VT_BSTR that specifies an id attribute for the list box selection control. May be set to NULL or omitted.

  • pvaOut
    Set to NULL.

IDM_LIVERESIZE

Causes the MSHTML Editor to update an element's appearance continuously during a resizing or moving operation, rather than updating only at the completion of the move or resize.

Command group CGID_MSHTML (defined in mshtmhst.h)
Symbolic constant IDM_LIVERESIZE
Header file mshtmcid.h

 

Call IOleCommandTarget::Exec with the following parameters.

  • nCmdExecOpt
    Set to OLECMDEXECOPT_DONTPROMPTUSER.

  • pvaIn
    VARIANT of type VT_BOOL specifying whether this feature is to be on or off.

  • pvaOut
    Set to NULL.

When this feature is off, an element's new position or size is indicated by a dashed rectangle until the mouse button is released.

IDM_MARQUEE

Overwrites an empty marquee on the text selection.

Command group CGID_MSHTML (defined in mshtmhst.h)
Symbolic constant IDM_MARQUEE
Header file mshtmcid.h

 

Call IOleCommandTarget::Exec with the following parameters.

  • nCmdExecOpt
    Set to OLECMDEXECOPT_DONTPROMPTUSER.

  • pvaIn
    VARIANT of type VT_BSTR that specifies an id attribute for the marquee. May be set to NULL or omitted.

  • pvaOut
    Set to NULL.

IDM_MULTIPLESELECTION

Allows for the selection of more than one site selectable element at a time when the user holds down the SHIFT or CTRL keys.

Command group CGID_MSHTML (defined in mshtmhst.h)
Symbolic constant IDM_MULTIPLESELECTION
Header file mshtmcid.h

 

Call IOleCommandTarget::Exec with the following parameters.

  • nCmdExecOpt
    Set to OLECMDEXECOPT_DONTPROMPTUSER.

  • pvaIn
    VARIANT of type VT_BOOL specifying whether this feature is to be on or off.

  • pvaOut
    Set to NULL.

If multiple items are selected when the multiple selection feature is turned off, the items will remain selected.