Udostępnij za pośrednictwem


CHtmlEditCtrlBase::ListBox

Overwrites a list box selection control on the current selection.

HRESULT ListBox( 
   LPCTSTR szId = NULL  
) const;

Parameters

  • szId
    The ID for the list box control.

Return Value

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

Remarks

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

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class

Other Resources

CHtmlEditCtrlBase Members