InfoConnect API Guide
Attachmate.Reflection.Emulation.Common Namespace / MouseMapper Class / AddMapping Method
A mapping between a mouse/key combination and a set of actions to perform when that mouse button combination is pressed in a host session.
Example


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

    Parameters

    mapping
    A mapping between a mouse/key combination and a set of actions to perform when that mouse button combination is pressed in a host session.
    Remarks
    A mouse/key combination can also be remapped to do nothing if the InputMapActionSequence specified in mapping.Mapping has no InputMapActions added to it.
    Example
    private MouseMapper mapper;
    private MouseMapping mapping;
                
    mapper.AddMapping(mapping);
    See Also