Multiple toplevel shells & Events

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
Multiple toplevel shells & Events

Submitted by Anonymous on Thu, 02/06/2003 - 15:01.

Would it be possible for two different independent toplevel shells
to share events. My application creates a toplevel shell
by default,and the user may create its own window toplevel
shell and pass its handle to my application, but the events
from the user window are not handles by the application.
Is there any way to fix this?
Any recommendation or suggestion is appreciated.
Thanks
Farhad

Thu, 02/06/2003 - 17:26#1

Thu, 02/06/2003 - 17:26#1

ICS_support

Multiple toplevel shells & Events

Having the window ID doesn`t help you get events on that window. You`d need to establish a second means of communication between the two applications in order to ensure that your application gets all the events (some it can get on the window solely by having the window ID). But you probably don`t want low-level window events anyway, but something higher like "resized", "iconified", "item selected", etc.