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


You can't just blindly return 1 from your handle event - you need to
*only* return 1 for the events you actually use, and return 0 for all
other events.

Also, you should always call the base class handle method form your own
handle method, unless you know for certain that the event does not need
to propagate top the base class.




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

Reply via email to