mouse click event

  • Thread starter Thread starter Chris Tacke, eMVP
  • Start date Start date
C

Chris Tacke, eMVP

Use an IMessageFilter implementation from OpenNETCF's ApplicationEx
namespace.
 
I want to handle the double click in listview, but CF does not provide this
event, so I want to handle mousedown event to emulate a double click event,
but CF sees can not capture mouse down evnet in listview too, if there is
another way to do this ?

Thank you.
 
Heres a method you could use

private void pnlTitle_Click(object sender, EventArgs e)

{

if(firstClick.AddMilliseconds(50) > System.DateTime.Now)

{

//heres your double click

}

else

{

firstClick = System.DateTime.Now;

}
 
Thanks, but the problem is that the mousedown event can't be capture too.
 

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

Back
Top