This behavior is by design ;)
It has something to do with allowing the user to drag things from one application and drop them on another.
There are other mouse messages that may do the trick for you. You may start here:
WM_MOUSEMOVE[
^]; you can check the flag
MK_LBUTTON
and see when it is turned off.
Hope this helps,
Pablo.