IVsIntelliMouseHandler::SetMouseCursor_ Method (POINT, POINT, UInt32, UInt32)
Visual Studio 2015
Sets the cursor base where the mouse is currently located.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int SetMouseCursor_( POINT ptOrg, POINT ptNew, unsigned int idCurOrg, unsigned int uNeutralRadius )
Parameters
- ptOrg
-
Type:
Microsoft.VisualStudio.OLE.Interop::POINT
[in] A POINT structure indicating the current origin of the mouse cursor.
- ptNew
-
Type:
Microsoft.VisualStudio.OLE.Interop::POINT
[in] A POINT structure indicating the new position of the mouse cursor.
- idCurOrg
-
Type:
System::UInt32
[in] The resource ID of the current mouse cursor.
- uNeutralRadius
-
Type:
System::UInt32
[in] The neutral radius. If the change in position between ptOrg and ptNew is less than this radius, does not move the cursor.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsIntelliMouseHandler::SetMouseCursor_( [in] POINT ptOrg, [in] POINT ptNew, [in] UINT idCurOrg, [in] UINT uNeutralRadius );
Show: