how to differentiate a single click from a double click in CTreeviewCtrl
- From: "JD" <jdt_young@xxxxxxxxx>
- Date: Fri, 28 Sep 2007 15:09:47 -0700
Hi,
In CTreeviewCtrl, I want to catch both the double click and the single click
events, but also need to differentiate them. For the double click event, a
handle is written against WM_LBUTTONDBLCLK. But against what message should
I write for single click event? I tried WM_LBUTTONDOWN. But WM_LBUTTONDOWN
will be fired too if I double click an item. Basically, I want to
differentiate single and double click events. Is there a way? Thanks for
any help.
JD
.
- Follow-Ups:
- Re: how to differentiate a single click from a double click in CTreeviewCtrl
- From: Joseph M . Newcomer
- Re: how to differentiate a single click from a double click in CTreeviewCtrl
- From: David Webber
- Re: how to differentiate a single click from a double click in CTreeviewCtrl
- Prev by Date: Re: horizontally pushing out old window with new
- Next by Date: Sorry...
- Previous by thread: horizontally pushing out old window with new
- Next by thread: Re: how to differentiate a single click from a double click in CTreeviewCtrl
- Index(es):
Loading