ListView Bug?

P

Paul Kay

I have an application with a Treeview and a ListView.

If the ListView has focus and I tap and hold an item in the Treeview, the
Treeview Item gets the focus before the TreeView Context Menu appears. i.e.
it functions as I wish it to.

However if the TreeView has focus and I tap and hold an item in the
ListView, the ListView Item doesn't get the focus first, so the Treeview
Context Menu appears.

Is this a bug in the ListView or another example of my poor code.

Paul K.
 
P

Paul Kay

Peter,

Yes, I'm experiencing this 'bug' on a Windows Mobile 2003 device (Ipaq 22xx)
with the (withdrawn) SP2. But it's not the Treeview that gives me the
problem, it's the ListView which launches the context menu on tap and hold
of an item before gettting the focus, i.e. the focus remains on the previous
control (in this case it happens to be a TreeView) and so I get the wrong
context menu.

Nor is the problem specific to a Windows Mobile 2003 device, I get the same
problem with a Jornada 568 and an O2 xda, both running SP2. I am fairly
sure I had the problem before installing SP2 (i.e with SP1) I'll roll back
one of the devices and retest it.

Regards
Paul K.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top