Udostępnij za pośrednictwem


CHtmlEditCtrlBase::SetBookMark

Creates a bookmark anchor for the current selection or insertion point.

HRESULT SetBookMark( 
   LPCTSTR szAnchorName  
) const;

Parameters

  • szAnchorName
    The anchor name.

Return Value

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

Remarks

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

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class

CHtmlEditCtrlBase::GetBookMark

CHtmlEditCtrlBase::UnBookmark

Other Resources

CHtmlEditCtrlBase Members