共用方式為


CHtmlEditCtrlBase::OrderList

Toggles the current selection between an ordered list and a normal format block.

HRESULT OrderList(
   LPCTSTR szId = NULL 
) const;

Parameters

  • szId
    The ID for the ordered list.

Return Value

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

Remarks

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

Requirements

Header: afxhtml.h

See Also

Concepts

CHtmlEditCtrlBase Class

CHtmlEditCtrlBase Members

CHtmlEditCtrlBase::UnorderList