A
Alexander Osipov
Hi!
I've got into trouble trying to place different actons on single and double
clicks in the TreeView nodes.
Unfortunately, the TreeView control fires both Click and DoubleClick events
sequentially when the user makes double click on some node and there is now
way to say at first Click event whether it is followed by DoubleClick or
not.
Playing with Control.SetStyle method and its StandardClick and
StandardDoubleClick flags does not affect the events sequence too.
Are there any ideas how to distinguish single and double clicks occured in
WinForms for to handle them in a different fashion?
Thanks for any advice,
Alex.
I've got into trouble trying to place different actons on single and double
clicks in the TreeView nodes.
Unfortunately, the TreeView control fires both Click and DoubleClick events
sequentially when the user makes double click on some node and there is now
way to say at first Click event whether it is followed by DoubleClick or
not.
Playing with Control.SetStyle method and its StandardClick and
StandardDoubleClick flags does not affect the events sequence too.
Are there any ideas how to distinguish single and double clicks occured in
WinForms for to handle them in a different fashion?
Thanks for any advice,
Alex.