Path: utzoo!utgpu!water!watmath!clyde!rutgers!ucla-cs!zen!ucbvax!Xerox.COM!"Michael_K._Powers.WBST139" From: "Michael_K._Powers.WBST139"@Xerox.COM Newsgroups: comp.windows.x Subject: GrabPointer again Message-ID: <880107-095710-7037@Xerox> Date: 7 Jan 88 17:56:13 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 34 That clears up some of my questions about the grabbing the pointer but I am still unclear at how to approach what my application requires. Perhaps a better example: I have a window(A) that is 640x350 mapped to root. I have another window(B) which is a child of A and is also 640x350. It is mapped to A and covers it. B Contains mutiple windows that represent checkbox buttons, text, etc. All the windows are set to no_propagate for all events. The reason for this is that we don't want a button press on a checkbox button, even if it doesn't care about it, to fall through to a button it occludes. So this is the basic setup. Now I want to temporarily ask for a button down event anywhere on the area defined by window A ignoring any siblings request for said event. Once I get the button down (I want to ignore the release) I wish to take that point and use it for the stake point of a rubberbanding line. I then wish to grab, for the area defined by A, all motion and button down events. The track point of the line will follow the pointer. Then when another button down is recieved the rubber line is done and things, event-wise, should return to the way they were before the first down event. A question at this point. Why should this require me to grab the device for the entire display? Basically what I have here is a microcosm display that doesn't really want to stop the user from moving to another client application window just because it wants to rubberband a line. (or bring up a menu) GrabButton does more of what I need except that it assumes you want to grab the pointer inbetween a down and up event. Am I using the propagate wrong? Is this style of real-estate tracking "not recommended"? -mike powers.wbst139@Xerox.com