From: Jenny B. <je...@bi...> - 2002-12-02 18:28:35
|
I'm using DynAPI to make a 'floating window' (iframe inside) which can be dragged around the screen, and hopefully will be resizable. Here's my problem though... If I use layer.setGrab(blah) to make the layer's top area grabbable, then the layer does not see a mouse event when clicking the lower right corner. However, the document also doesn't seem to see the mouse event on the lower right corner. It seems to be given to the layer to handle but the layer determines that checkWithinLayer() was false, and doesn't do anything with it. If I don't setGrab() then I can see the mouse event, but the layer both drags AND resizes on me. I don't see where to interrupt the handling flow so that I can determine for myself if this will be a drag event (and invoke the drag handler) or if it'll be a resize event. Getting lost in event chains... Jenny Brown |