Hello just want to ask a question about wx and MDI: When I post an event with wxPostEvent method to a MDIParent window, should I process from the sub-window of MDI-parent or from the parent-to-sublings.
Ideally it should process like this in parent-subling order
But when I post the wxEvent with wxPostEvent function, MDI Child got the event before MDI Parent could get it.
AFAIK the event should process from parent to child with event queue message system, but in my case the order was reversed, hence the confusion/question.
Thanks in advance.
MDI window event queue process-order problem
-
- Experienced Solver
- Posts: 81
- Joined: Wed Oct 19, 2016 1:41 pm
Re: MDI window event queue process-order problem
That shouldn't happen at all. Events only propagate upwards (to parent), never down (to children).But when I post the wxEvent with wxPostEvent function, MDI Child got the event before MDI Parent could get it.
AFAIK the event should process from parent to child with event queue message system
What kind of event are you sending?
Does the MDIParent have an event handler for it?
Use the source, Luke!