On Jul 19, 2007, at 6:19 PM, Stan wrote: > Matt, I posted a complete example, in which the subwindow > was shown before it was grabbed. I just tried the flush() > loop you suggested; it has no effect whatsoever.
Yes, I saw your post. Calling "show()" alone is not always enough. That's why I suggested to wait until the OS actually maps the window to the screen. > Previous posters have said that grab() isn't supposed to work > for windows not descended from the "main" window. Do you disagree? Yes, I do disagree. If that was true, none of the popup menus would work in FLTK. But they do, don't they? grab() is also used to make buttons work correctly (you can press a button, then drag the mouse all over, then release the mouse button somewhere, and the pushbutton will still get the release event). I apologize that I currently do not have the time to step trough the code and find out why it doesn't work for you. There is just too much to do in my regular job. Matthias ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

