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;

}
 
Back
Top