Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

ContextMenuStrip not working for ListBox control on Windows Forms app running on Surface Pro tablet

$
0
0

Hello,

I've been mostly successful porting my company's desktop app (WinForms, C#) to our new Surface Pro tablet, but have not been able to get a ContextMenuStrip to appear with a finger or pen touch "right click" on any of the ListBox controls.

I've tried clearing out the ListBox's contextMenuStrip property to test MouseDown events but I have not been successful with that either.

The ContextMenuStrips DO seem to work properly with other controls (ListViews, DataGridViews, etc.). Also, they seem to function for the ListBox if I have the tablet's Type Cover attached and use the right-click portion of the touchpad below the keyboard, but I would like to see if there's an option to handle this without the Type Cover.

Thank you,

Bob



Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>