STK XSend comments on this topic.
SetMouseCursorFromFile Method (AgUiAx2DCntrl)
See Also  Example
CursorFileName
Complete path and file name to a cursor file.
Windows






Windows & Linux

Description

Sets mouse cursor to the selected cursor file.

Syntax

[Visual Basic .NET]
Public Sub SetMouseCursorFromFile( _
   ByVal CursorFileName As String _
) 
[C#]
public void SetMouseCursorFromFile(
   string CursorFileName
);
[Managed C++]
public: void SetMouseCursorFromFile(
   String __gc ^ CursorFileName
);
[Java]
public  setMouseCursorFromFile(
   String CursorFileName
);
[Unmanaged C++]
public: HRESULT SetMouseCursorFromFile(
   BSTR CursorFileName
);

Parameters

CursorFileName
Complete path and file name to a cursor file.

Remarks

The cursor is repalced to the newly selected cursor when the mouse pointer is moved over the control.

Example

[Visual Basic .NET]Copy Code
AxAgUiAx2DCntrl1.SetMouseCursorFromFile("C:\MyCursor.cur")
.....

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.