AGI STK X 11Send comments on this topic.
SetMouseCursorFromFile Method (AgUiAxVOCntrl)
See Also
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 _
) As 
[C#]
public void SetMouseCursorFromFile(
    string CursorFileName
);
[Managed C++]
public: void SetMouseCursorFromFile(
    String __gc ^ CursorFileName
);
[Java]
public void 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.

See Also

Example

[Visual Basic .NET]
AxAgUiAxVOCntrl1.SetMouseCursorFromFile("C:\MyCursor.cur")
.....
© 2019 Analytical Graphics, Inc. All Rights Reserved.