ArcFM Engine Developer Guide
mmToolState Enumeration


This enumeration defines various states of tools in ArcFM. This allows you to toggle the visibility or availability of a TreeViewTool.
Syntax
'Declaration
 
<GuidAttribute("828656A0-C798-11D3-B7E3-0050DA2F817F")>
Public Enum mmToolState 
   Inherits System.Enum
'Usage
 
Dim instance As mmToolState
[Guid("828656A0-C798-11D3-B7E3-0050DA2F817F")]
public enum mmToolState : System.Enum 
Members
MemberDescription
mmTSChecked4
mmTSEnabled2
mmTSNone0
mmTSSubMenu8
mmTSVisible1
Remarks

The value returned by IMMTreeViewTool’s Enabled property will be interpreted in a bitwise fashion. In other words, the values of mmToolState can be added together so that the Enabled property can specify multiple tool states. For example, for a TreeView tool to be both enabled and visible, its Enabled property should return a value of 3 (mmTSVisible + MMTSEnabled = 3).

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Miner.Interop.mmToolState

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

Miner.Interop Namespace

 

 


Send Comment