False alarm. Looks like some left-over expirimental code was ungrabbing the mouse unexpectedly during my grab. Stevenson, Dave (contr) <[hidden email]>
_____________________________________________
I'm grabbing the mouse in VW 7.6 while the button is up. If I'm over some other VW window, I get the mouse moved event, but if over non-VW area, no mouse moved event. Using identical code to initiate the grab, but this time while the button is down, I get mouse moved events anywhere. Why the difference? Does Windows XP decide not to deliver mouse moved events to the VM if the left button is up, even though grabbing? Does the VM decide not to pass mouse moved events up to the image if the red button is up, even though grabbing? I haven't found any code in the image that would prevent mouse moved events from being delivered to the currentMouseConsumer if the red button is up. Am I missing it there? Stevenson, Dave (contr) <[hidden email]>
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Arrgh. Spoke too soon. We removed the superfluous ungrab, and still I only receive events outside of VW real estate if the mouse button is down. We keep looking, but can't figure out why. Stevenson, Dave (contr) <[hidden email]>
_____________________________________________
False alarm. Looks like some left-over expirimental code was ungrabbing the mouse unexpectedly during my grab. Stevenson, Dave (contr) <[hidden email]>
_____________________________________________
I'm grabbing the mouse in VW 7.6 while the button is up. If I'm over some other VW window, I get the mouse moved event, but if over non-VW area, no mouse moved event. Using identical code to initiate the grab, but this time while the button is down, I get mouse moved events anywhere. Why the difference? Does Windows XP decide not to deliver mouse moved events to the VM if the left button is up, even though grabbing? Does the VM decide not to pass mouse moved events up to the image if the red button is up, even though grabbing? I haven't found any code in the image that would prevent mouse moved events from being delivered to the currentMouseConsumer if the red button is up. Am I missing it there? Stevenson, Dave (contr) <[hidden email]>
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Stevenson, Dave (Contr) escreveu:
> Arrgh. > > Spoke too soon. We removed the superfluous ungrab, and still I only > receive events outside of VW real estate if the mouse button is down. We > keep looking, but can't figure out why. > > Dave, Thinking a little about it makes sense: if the VW application wants to keep the mouse grab outside its state it would be no way to change focus (w/mouse) to another application (IIRC apps w/this behaviour used to be called "modal"). OTOH, with the mouse down you might be dragging an object to dropped in another application (or the OS). -- Cesar Rabak GNU/Linux User 52247. Get counted: http://counter.li.org/ _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Stevenson, Dave (contr)
I guess Cincom's off the hook:
Prim 936 (found in $VISUALWORKS\bin\src\platpc\ntanim.c) calls SetCapture(), but only after createHiddenFullScreenWindow(), which is the hack required to get Windoze to deliver the events. I guess if we really want to grab with the buttons up, we can try that technique as well. Stevenson, Dave (contr) <[hidden email]>
_____________________________________________
Arrgh. Spoke too soon. We removed the superfluous ungrab, and still I only receive events outside of VW real estate if the mouse button is down. We keep looking, but can't figure out why. Stevenson, Dave (contr) <[hidden email]>
_____________________________________________
False alarm. Looks like some left-over expirimental code was ungrabbing the mouse unexpectedly during my grab. Stevenson, Dave (contr) <[hidden email]>
_____________________________________________
I'm grabbing the mouse in VW 7.6 while the button is up. If I'm over some other VW window, I get the mouse moved event, but if over non-VW area, no mouse moved event. Using identical code to initiate the grab, but this time while the button is down, I get mouse moved events anywhere. Why the difference? Does Windows XP decide not to deliver mouse moved events to the VM if the left button is up, even though grabbing? Does the VM decide not to pass mouse moved events up to the image if the red button is up, even though grabbing? I haven't found any code in the image that would prevent mouse moved events from being delivered to the currentMouseConsumer if the red button is up. Am I missing it there? Stevenson, Dave (contr) <[hidden email]>
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |