WM_NCLBUTTONDOWN and Double Click

  • Thread starter Thread starter Franz
  • Start date Start date
F

Franz

I have sent a WM_NCLBUTTONDOWN message when there is a left mouse down on my form. But if I do that, then my double click event
handler will not be called. Is there any method to solve that ?
Thanks.
 
If that is the case, my advice would be to stop it. Don't convert a mouse
click into an NC mouse click, just do your own window movement code. On
mouse down, store the position of the window and capture the mouse input, on
mouse move while input captured move the window, on mouse up release the
capture.

Then your double-click problem will go away on it's own.
 
Back
Top