Reflection .NET API
Attachmate.Reflection.Emulation.IbmHosts Assembly / Attachmate.Reflection.Emulation.IbmHosts Namespace / IMouseMapper Interface / 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.


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
    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 InputMapSequenceAction specified in mapping.Mapping has no InputMapActions added to it.
    See Also