Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / IMouseMapper Interface / AddMapping Method
An association between a mouse/key combination and a set of actions. The actions are performed when the mouse/key combination is pressed in a host session.


In This Topic
    AddMapping Method (IMouseMapper)
    In This Topic
    Adds a mouse button mapping to the current mouse map.
    Syntax
    'Declaration
     
    
    Sub AddMapping( _
       ByVal mapping As MouseMapping _
    ) 
    'Usage
     
    
    Dim instance As IMouseMapper
    Dim mapping As MouseMapping
     
    instance.AddMapping(mapping)
    void AddMapping( 
       MouseMapping mapping
    )

    Parameters

    mapping
    An association between a mouse/key combination and a set of actions. The actions are performed when the mouse/key combination is pressed in a host session.
    Remarks
    A mouse/key combination can be remapped to do nothing if the InputMapSequenceAction specified in mapping.Mapping has no InputMapActions added to it.
    See Also