共用方式為


CHtmlEditCtrlBase::InsInputHidden

Inserts a hidden control on the current selection.

HRESULT InsInputHidden(
   LPCTSTR szId = NULL 
) const;

Parameters

  • szId
    The ID for the hidden control.

Return Value

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

Remarks

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

Requirements

Header: afxhtml.h

See Also

Concepts

CHtmlEditCtrlBase Class

CHtmlEditCtrlBase Members