InfoConnect for Unisys
AddMapping Method (MouseMapper)
Example 


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.
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