How to simulate Right-click using Stylus

  • Thread starter Thread starter Yasminejade
  • Start date Start date
Y

Yasminejade

In the Pocket PC File Explorer, there is a right-click
functionality using stylus, ie. click and hold for 2
seconds and a context menu will popup.

I would like to use this functinality in my Listview which
will popup a context menu upon recieving a stylus click
and hold for 2 seconds.

Anybody knows how to do this?
 
Set ListView.ContextMenu property to an instance of ContextMenu control
(available in the toolbar)
 
Is it possible to detect the event when the context menu would normally
appear? I'd like to do something other than show the context menu. I'd be
willing to live with the red circles.

Thanks.
Richard Kucia
 
Not in CF. You may have some luck manually calling SHRecognizeGesture, but
the control itself needs to be able to fire MouseDown event - some of them
don't
 
Back
Top