# Mouse Right Button Pressed and Mouse move

**URL:** <https://community.thinkgeo.com/t/mouse-right-button-pressed-and-mouse-move/2727>\
**Category:** WPF\
**Created:** [July 13, 2010, 4:33pm UTC](https://community.thinkgeo.com/t/mouse-right-button-pressed-and-mouse-move/2727 "2010-07-13T16:33:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Howard](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/h/90ced4/32.png) [@Howard](https://community.thinkgeo.com/u/Howard)\
**Post date:** [July 14, 2010, 1:53am UTC](https://community.thinkgeo.com/t/mouse-right-button-pressed-and-mouse-move/2727/2 "2010-07-14T01:53:39Z")

</div>

Hi&nbsp;Raquibur,  
  
  
  
Thanks&nbsp;for&nbsp;reporting&nbsp;this;&nbsp;we&nbsp;transferred&nbsp;the&nbsp;features&nbsp;from&nbsp;the&nbsp;previous&nbsp;desktop&nbsp;to&nbsp;this&nbsp;new&nbsp;one,&nbsp;I&nbsp;think&nbsp;we&nbsp;missed&nbsp;this&nbsp;specific&nbsp;operation.&nbsp;We&nbsp;have&nbsp;fixed&nbsp;synchronize&nbsp;and&nbsp;please&nbsp;try&nbsp;the&nbsp;daily&nbsp;build&nbsp;tomorrow.&nbsp;  
  
  
  
On&nbsp;the&nbsp;other&nbsp;hand,&nbsp;I&nbsp;have&nbsp;a&nbsp;workaround&nbsp;for&nbsp;you&nbsp;temporary&nbsp;which&nbsp;to&nbsp;rewrite&nbsp;the&nbsp;ExtentInteractiveOverlay.&nbsp;Please&nbsp;see&nbsp;the&nbsp;code&nbsp;below.

`// This is new ExtentInteractiveOverlaypublic class LeftButtonPanningExtentInteractiveOverlay : ExtentInteractiveOverlay{    protected override InteractiveResult MouseDownCore(InteractionArguments interactionArguments)    {        InteractiveResult result = base.MouseDownCore(interactionArguments);        if (ExtentChangedType == ExtentChangedType.Pan && interactionArguments.MouseButton != MapMouseButton.Left)        {            ExtentChangedType = ExtentChangedType.None;        }        return result;    }}`  
`// Replace the ExtentInteractiveOverlay to this new one. Map1.ExtentOverlay = new LeftButtonPanningExtentInteractiveOverlay();`

Thanks,  
  
Howard

---

_[View the full topic](https://community.thinkgeo.com/t/mouse-right-button-pressed-and-mouse-move/2727)._
