Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "SetCursor" in [All]

coredll

.

    static extern bool SetCursorPos(int X, int Y);

.

Declare Function SetCursorPos Lib "coredll.dll" (TODO) As TODO

.
Documentation
[SetCursorPos] on MSDN

user32

.

    static extern bool SetCursorPos(int X, int Y);

.

            SetCursorPos(point.X + x, point.Y + y);

. .
Summary
.

public static extern IntPtr SetCursor(IntPtr handle);

.

NOTE: Below here has been copy-pasted from SetCursorPos

.

Declare Auto Function SetCursorPos Lib "user32.dll" (ByVal x As Integer, ByVal y As Integer) As Integer

.

Private Shared Function SetCursorPos(ByVal X As Integer, ByVal Y As Integer) As Boolean

.

    static extern bool SetCursorPos(int x, int y);

.

            SetCursorPos(point.X + x, point.Y + y);

.
Documentation
[SetCursorPos] on MSDN
.
Summary
.

static extern bool SetCursorPos(int x, int y);

.

Declare Auto Function SetCursorPos Lib "user32.dll" (ByVal x As Integer, ByVal y As Integer) As Integer

.

Private Shared Function SetCursorPos(ByVal X As Integer, ByVal Y As Integer) As Boolean

.

    static extern bool SetCursorPos(int X, int Y);

.

            SetCursorPos(point.X + x, point.Y + y);

.
Documentation
[SetCursorPos] on MSDN

Enums

5: SPI
.

      SPI_SETCURSORS = 0x0057,

.

      SPI_SETCURSORSHADOW = 0x101B,

.

    public const uint SPI_SETCURSORSHADOW = 0x101B;

.

    SPI_SETCURSORSHADOW = &H101B

.

    /// The WM_SETCURSOR message is sent to a window if the mouse causes the cursor to move within a window and mouse input is not captured.

.

    SETCURSOR = 0x0020,

.

    '''The WM_SETCURSOR message is sent to a window if the mouse causes the cursor to move within a window and mouse input is not captured.

.

    WM_SETCURSOR = &H20

Constants

7: WM
.
WM_SETCURSOR 0x20 The WM_SETCURSOR message is sent to a window if the mouse causes the cursor to move within a window and mouse input is not captured.
.

private const UInt32 WM_SETCURSOR          = 0x0020;

.

   WM_SETCURSOR = &H20

.

WM_SETCURSOR          equ 020h


 
Access PInvoke.net directly from VS: