property Item.Cursor as Variant
Specifies the shape of the cursor when mouse hovers the item.

TypeDescription
Variant A string expression that indicates a predefined value listed bellow, a string expression that indicates the path to a cursor file, a long expression that indicates the handle of the cursor.
Use the Cursor property to specify the cursor that control displays when the mouse pointer hovers the item. 

Here's the list of predefined values ( string expressions ):

If the cursor value is a string expression, the control looks first if it is not a predefined value like listed above, and if not, it tries to load the cursor from a file. If the Cursor property is a long expression it always indicates a handle to a cursor. The API functions like: LaadCursor or LoadCursorFromFile retrieves a handle to a cursor. In .NET framework, the Handle parameter of the Cursor object specifies the handle to the cursor. Use the Cursors object to access to the list of predefined cursors in the .NET framework.

The following VB sample changes the cursor while the mouse pointer hovers the item:

With ExMenu1(20)
    .Cursor = "exCross"
End With

Here's the  VB.NET alternative:

AxExMenu1.Ctlset_Cursor(EXEDITLib.ClientAreaEnum.exLineNumberArea, "exCross")

The following VB sample loads a cursor from a file:

With ExMenu1
    .Cursor = "C:\WINNT\Cursors\metronom.ani"
End With

And here's the VB.NET alternative:

AxExMenu1.Ctlset_Cursor("C:\WINNT\Cursors\metronom.ani")

The following VB.NET sample changes the cursor with one that Cursors object defines ( PanEast cursor ):

AxExMenu1.Ctlset_Cursor(Cursors.PanEast.Handle)

The following C++ sample loads the cursor from a file:

m_edit.SetCursor( COleVariant("C:\\WINNT\\Cursors\\metronom.ani" ) );

The following C# sample loads the cursor from a file:

axExMenu1.Ctlset_Cursor("C:\\WINNT\\Cursors\\metronom.ani");

The following VFP sample loads the cursor from a file:

with thisform.ExMenu1.Object
	.Cursor = "C:\WINNT\Cursors\metronom.ani"
endwith