LitDev Extension API
LDCursors
![](images/IntellisenseObject.png)
Sets the GraphicsWindow Cursor.
Arrow
![]() |
ArrowCD
![]() |
CreateCursor
![]() |
Cross
![]() |
Hand
![]() |
Help
![]() |
IBeam
![]() |
Invalid
![]() |
None
![]() |
Pen
![]() |
Scroll
![]() |
SetShapeCursor
![]() |
SetUserCursor
![]() |
SizeAll
![]() |
SizeNESW
![]() |
SizeNS
![]() |
SizeNWSE
![]() |
SizeWE
![]() |
Starting
![]() |
UpArrow
![]() |
Wait
![]() |
Arrow()
![](images/IntellisenseMethod.png)
Arrow Cursor (default).
ArrowCD()
![](images/IntellisenseMethod.png)
Arrow with CD Cursor.
CreateCursor(imageName,xHotSpot,yHotSpot)
![](images/IntellisenseMethod.png)
Create a cursor that can be set using SetUserCursor or SetShapeCursor.
An ImageList image can be resized with LDImage.Resize.
imageName The file path or ImageList image.
xHotSpot The x pixel to use as the hot spot, indexed from 0.
yHotSpot The y pixel to use as the hot spot, indexed from 0.
returns A cursor.
Cross()
![](images/IntellisenseMethod.png)
Cross Cursor.
Hand()
![](images/IntellisenseMethod.png)
Hand Cursor.
Help()
![](images/IntellisenseMethod.png)
Help Cursor.
IBeam()
![](images/IntellisenseMethod.png)
IBeam Cursor.
Invalid()
![](images/IntellisenseMethod.png)
Invalid Cursor.
None()
![](images/IntellisenseMethod.png)
No Cursor.
Pen()
![](images/IntellisenseMethod.png)
Pen Cursor.
Scroll()
![](images/IntellisenseMethod.png)
Scroll Cursor.
SetShapeCursor(shapeName,cursor)
![](images/IntellisenseMethod.png)
Set the cursor for a shape or control when the mouse is over the shape.
shapeName The shape or control name.
cursor A cursor created with CreateCursor or
a standard cursor in this object (e.g. "ArrowCD") or
the full path to a *.cur or *.ani file to use as a cursor.
SetUserCursor(cursor)
![](images/IntellisenseMethod.png)
Sets a custom cursor as a pointer in the Graphics Window.
cursor A cursor created with CreateCursor or
a standard cursor in this object (e.g. "ArrowCD") or
the full path to a *.cur or *.ani file to use as a cursor.
SizeAll()
![](images/IntellisenseMethod.png)
Size All Cursor (Resizing).
SizeNESW()
![](images/IntellisenseMethod.png)
NESW DoubleArrow Cursor (Resizing).
SizeNS()
![](images/IntellisenseMethod.png)
NS DoubleArrow (Resizing).
SizeNWSE()
![](images/IntellisenseMethod.png)
NWSE DoubleArrow Cursor (Resizing).
SizeWE()
![](images/IntellisenseMethod.png)
WE DoubleArrow (Resizing).
Starting()
![](images/IntellisenseMethod.png)
Starting Cursor.
UpArrow()
![](images/IntellisenseMethod.png)
Up Arrow Cursor (Insertion).
Wait()
![](images/IntellisenseMethod.png)
Wait Cursor.