共用方式為


CHtmlEditCtrlBase::SetAtomicSelection

Set atomic selection mode.

HRESULT SetAtomicSelection(
   bool bNewValue 
) const;

Parameters

  • bNewValue
    If true, any element that has an ATOMICSELECTION attribute set to TRUE will be selectable only as a unit.

Return Value

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

Remarks

This method sends the IDM_ATOMICSELECTION command ID to the WebBrowser control.

Requirements

Header: afxhtml.h

See Also

Concepts

CHtmlEditCtrlBase Class

CHtmlEditCtrlBase Members