In my class derived from CView, I handle the left mouse button dbl click in the override of LButtonDblClck(). In the body of that function, I call some code to reposition the data in the view window. Alos, I handle MouseMove in override of OnMouseMove with left button pressed to implement some data processing behaviour. What I've discovered is that the OnMouseMove is triggered after the LButtonDblClck, regardless of whether the mouse was moved or not, and this introduces very unwelcome effects after double click induced in the "non-sanctioned" OnMouseMove().
Can you suggest a profound way to avoid this problem - how can I keep this OnMouseMove() event from triggering after double click, but not in other cases? I think making and checking a member variable indicating "mouse was double-clicked" and "mouse was moved after that" is not very profound and stable.