STK X Send comments on this topic.
SetMouseCursorFromFile Method (AgUiAxVOCntrl)
See Also  Example
CursorFileName
Complete path and file name to a cursor file.





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
AxAgUiAxVOCntrl1.SetMouseCursorFromFile("C:\MyCursor.cur")
.....

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1