Or, you overload the PreTranslateMessage of your view or dialog class and monitor the WM_LBUTTONDBLCLK message, i. e. set a member flag of the dialog class to true. It might be a little bit tricky to find the right message to reset the flag to false. Probably it is the WM_LBUTTONUP message.
Main Topics
Browse All Topics





by: itsmeandnobodyelsePosted on 2009-09-03 at 06:31:06ID: 25250431
>>>> How can I spy the "double click" message
You have to block the TVN_ITEMEXPANDING message by returning success == 1 (handled) and do the expanding in the NM_DBLCLK notification handler.