> The two window are not in one process. Process A has a window 
> in left hand side, and Process B has a window in right hand 
> side. So I think I can't use the above two method. Sorry I 
> forget to mention this in my description.

By "not in one process" do you literally mean that they are independent
processes in the sense that they are two independent executables that
happen to be running at the same time?
If so, this becomes a Hard Problem, as it is not easy to manage the
focus between two independent processes - you need to deal with how the
window manager handles the focus between application windows, some form
of IPC between your processes, and many other tricky issues.
If this is the case, then there's probably no easy trick you can do in
fltk to make this work.

However, if your two "processes" are threads of execution within a
single application, then you probably can manage the focus in fltk, as I
outlined earlier...

Can you expand your description of your architecture a little more,
please, so that we can understand what it is you are trying to
achieve...




SELEX Galileo Ltd
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