Fox wrote:

> If I don't use "handle()" in my programm, just delet the code/function
> mark 1,2 down there. My programm work well, draw a sub window with a
> colored border in root window. But, when I use "handle()", the
> EcgWin::draw() doesn't work? The programm will not run EcgWin::draw() at
> all.
> ...
> ...

> int EcgWin::handle(int e) {
>        return 1;
>}

I would say that's because the underlying Fl_Window's handle() is not being
called. Try:

int EcgWin::handle(int e) {
       return Fl_Window::handle(e);
}

and see it fixes it.

-- 
Alvin
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to