ArcFM Engine Developer Guide
MouseCursor Class
Members 


Product Availability
Required Licenses
.NET Assembly
Miner.Desktop.MouseCursor is a wrapper for ESRI's mouse cursor. this mouse cursor class is environment-aware. If we are running in desktop, we create an ESRI MouseCursor object and set it's cursor id. If we are running in engine, and Miner.Desktop is installed, then we do not create an ESRI MouseCursor because it interferes with the current cursor in the engine environment. The problem this solves is that ESRI's mouse cursor interferes with the current cursor in the engine environment. So in order to allow the engine code to control it's own current cursor, we need to make sure that any of our code that uses ESRI's mouse cursor (such as mmStoredStuff) will not attempt to create an ESRI mouse cursor when it's running in the engine environment. This is only a concern when ArcMap is installed, of course. Without ArcMap, you don't have the desktop environment, and projects like mmStoredStuff can't create an ESRI MouseCursor, so we're fine. The way ESRI MouseCursor works, is it sets the cursor to whatever you tell it, and it stays that way until the object gets destroyed. This object will work the same way. It just won't create the ESRI MouseCursor when running in the engine environment.
Syntax
'Declaration
 
<ComVisibleAttribute(True)>
<ClassInterfaceAttribute(ClassInterfaceType.None)>
<GuidAttribute("5F733AB1-0486-44BC-99BA-7B8F35FFF71D")>
<ProgIdAttribute("mmDesktop.mmMouseCursor")>
Public Class MouseCursor 
   Implements ESRI.ArcGIS.Framework.IMouseCursor 
'Usage
 
Dim instance As MouseCursor
[ComVisible(true)]
[ClassInterface(ClassInterfaceType.None)]
[Guid("5F733AB1-0486-44BC-99BA-7B8F35FFF71D")]
[ProgId("mmDesktop.mmMouseCursor")]
public class MouseCursor : ESRI.ArcGIS.Framework.IMouseCursor  
Inheritance Hierarchy

System.Object
   Miner.Desktop.MouseCursor

Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

MouseCursor Members
Miner.Desktop Namespace

 

 


Send Comment