Partager via


CHtmlEditCtrlBase::CheckBox

Overwrites a check box control on the current selection.

HRESULT CheckBox( 
   LPCTSTR szId = NULL  
) const;

Parameters

  • szId
    The ID of the check box control.

Return Value

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

Remarks

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

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class