Assumes that there is a source window, referred to as "Win_S, to drag the left mouse button to the purpose of the window, referred to as" Win_D, other Windows on the desktop and location, referred to as "Win_O, shape of the mouse cursor (cursor), if it is window Win_D into the purpose, the cursor shape Cursor_OK for short, if it is other Windows Win_O Win_S) (include the source window, the cursor shape Cursor_NO for short, is no drag and drop the normal shape of the mouse cursor Cursor_Normal for short, The question now is: after the occurrence of drag, 1, if not in the Win_S caught the mouse, then remove Win_S Win_S can't detect the mouse (including mouse to Win_D and Win_O) after the mouse left key release (pop) message, the cursor back to Cursor_Normal; 2, if caught the mouse in the Win_S, although this can be in the left mouse button in any position to release (pop) recovery after the cursor shape Cursor_Normal, but in this case, the drag during other Windows (Win_D and Win_O), is not in response to the mouse message, Win_D in also cannot respond to events, according to the drag and drop the This dilemma should be a standard mouse drag across the window, put the typical problems in the operation, please friends provide some help to solve the problem of similar,
CodePudding user response:
Window with the mouse to leave message, just need to manually response