المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Mouse Up Event Confusion



C# Programming
04-01-2009, 06:51 AM
I thought (and confirmed? with microsoft's documentation) that a mouseup event should fire when the mouse is over a control and the button is release. However, in my application the mouseup is being fire FOR THE CONTROL THAT CAPTURED THE MOUSE DOWN (not for the control which the mouse is over when the button is released). How do i change this behavior so that the control being clicked is not decided until the mouse up? Thank you very much for your help. http://www.barakasoft.com/script/Forums/Images/smiley_confused.gif