共用方式為


CHtmlEditCtrlBase::SetOverrideCursor

Commands the WebBrowser never to change the mouse pointer.

HRESULT SetOverrideCursor(
   bool bNewValue 
) const;

Parameters

  • bNewValue
    If true, the WebBrowser will not change the mouse pointer.

Return Value

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

Remarks

This method sends the IDM OVERRIDE_CURSOR command ID to the WebBrowser control.

Requirements

Header: afxhtml.h

See Also

Concepts

CHtmlEditCtrlBase Class

CHtmlEditCtrlBase Members