EVT_MOUSE_UP is not fired when mose is dragged on to some other control

Vadim Zeitlin vadim at wxwidgets.org
Thu Sep 6 08:59:46 PDT 2007


On Wed, 5 Sep 2007 21:27:16 -0700 (PDT) czur <kamatharun at tataelxsi.co.in> wrote:

c> I have a problem using mouse up event, I have few controls on my dialog box,
c> i have linked the mouseup event to my panel control, if i drag the mouse on
c> the panel itself it works, but if i drag the mouse from the panel to a
c> control and release the mouse this event is not fired. what is the problem
c> here??...

 You need to capture the mouse in order to get events from it even when
it's not over the window where you want to receive the events.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list