Partager via


IVsIntelliMouseHandler.SetMouseCursor_(POINT, POINT, UInt32, UInt32) Method

Definition

Sets the cursor base where the mouse is currently located.

public:
 int SetMouseCursor_(Microsoft::VisualStudio::OLE::Interop::POINT ptOrg, Microsoft::VisualStudio::OLE::Interop::POINT ptNew, System::UInt32 idCurOrg, System::UInt32 uNeutralRadius);
public:
 int SetMouseCursor_(Microsoft::VisualStudio::OLE::Interop::POINT ptOrg, Microsoft::VisualStudio::OLE::Interop::POINT ptNew, unsigned int idCurOrg, unsigned int uNeutralRadius);
int SetMouseCursor_(Microsoft::VisualStudio::OLE::Interop::POINT ptOrg, Microsoft::VisualStudio::OLE::Interop::POINT ptNew, unsigned int idCurOrg, unsigned int uNeutralRadius);
public int SetMouseCursor_ (Microsoft.VisualStudio.OLE.Interop.POINT ptOrg, Microsoft.VisualStudio.OLE.Interop.POINT ptNew, uint idCurOrg, uint uNeutralRadius);
abstract member SetMouseCursor_ : Microsoft.VisualStudio.OLE.Interop.POINT * Microsoft.VisualStudio.OLE.Interop.POINT * uint32 * uint32 -> int
Public Function SetMouseCursor_ (ptOrg As POINT, ptNew As POINT, idCurOrg As UInteger, uNeutralRadius As UInteger) As Integer

Parameters

ptOrg
POINT

[in] A POINT structure indicating the current origin of the mouse cursor.

ptNew
POINT

[in] A POINT structure indicating the new position of the mouse cursor.

idCurOrg
UInt32

[in] The resource ID of the current mouse cursor.

uNeutralRadius
UInt32

[in] The neutral radius. If the change in position between ptOrg and ptNew is less than this radius, does not move the cursor.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsIntelliMouseHandler::SetMouseCursor_(  
   [in] POINT ptOrg,   
   [in] POINT ptNew,   
   [in] UINT idCurOrg,   
   [in] UINT uNeutralRadius  
);  

Applies to