> No, it really want a modal window (so the widgets of the > parent window > shouldn't be active as long as the modal window is there) > > I try to explain my configuration again: > > parent window -> child window (modal) > child window -> contains OK Button > OK Button -> callback which closes child window (hide()) > > So if I press the OK Button, the callback isn't performed... > As I said > before, it seems to be a kind of a deadlock... (Child window > doesn't get > the event because the modal-option blocks event propagation to the > childs of the parent window... Or is there another reason why this > doesn't work?) Is there another way to do this? Or is this > approach wrong?
Did you try my example? Did it work? Did you try changing the sub-window from "non-modal" to "modal"? What effect did that have? If you are really saying that widgets on a modal child window do not get any events, then that is a bug. But that does not happen for me, so it must be a bug in Nano-X, I suggest. (If this is indeed the case, then why are you using Nano-X? I would suggest that better, more standard, alternatives exist.) If you run your code on a conventional desktop system, how does it behave? Does it show the same aberrant behaviour as your embedded target? Can you post a minimal compileable example that manifests this behaviour? -- Ian SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

