knowledge-database (beta)

Current group: comp.soft-sys.wxwindows

Event feedback on ProcessEvent

Event feedback on ProcessEvent  
Gabriel de Dietrich
 Re: Event feedback on ProcessEvent  
Vadim Zeitlin
From:Gabriel de Dietrich
Subject:Event feedback on ProcessEvent
Date:Thu, 20 Jan 2005 14:17:01 +0000 (UTC)
Good afternoon,

I would like to receive feedback after having raised an event with
ProcessEvent. For example, myEvtHandler might throw an event this way,

ProcessEvent(ev);
if (ev.IsOK())
{
...
}

and the function connected to it might *modify* the event object with, say,

ev.SetOK(true);

Another way to ask the same question would be, is it safe to assume the same
event object instance is propagated with ProcessEvent? I've seen that
wxIdleEvent::RequestMore and wxIdleEvent::MoreRequested methods pretend it is.
But I prefer to ask.

Thanks in advance,

--
Gabriel de Dietrich
Image Guided Therapy
Pessac, France

---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wx-users-help@lists.wxwidgets.org
From:Vadim Zeitlin
Subject:Re: Event feedback on ProcessEvent
Date:Thu, 20 Jan 2005 15:47:52 +0000 (UTC)
On Thu, 20 Jan 2005 15:16:06 +0100 Gabriel de Dietrich wrote:

GdD> Another way to ask the same question would be, is it safe to assume the same
GdD> event object instance is propagated with ProcessEvent?

Yes.

Regards,
VZ

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


---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wx-users-help@lists.wxwidgets.org
   

Copyright © 2006 knowledge-database   -   All rights reserved