I found a practical solution using Buddy API:
if baActiveWindow() <> baWinHandle() then exit
But I still hope that someone can explain why this doesn't work the same way:
if the activeWindow <> the stage then exit
Slava
At 12:13 AM 8/28/2001 -0400, you wrote:
>When my MIAW is over (on top of) the stage (blocking the stage), the
>objects on the stage still capture the mouseEnter and mouseWithin events.
>Short of adding a stopEvent to every object in the MIAW, I haven't been
>able to find a way to prevent this.
>
>One thing I tried is this script in the relevant stage objects:
>
>if the activeWindow <> the stage then exit
>
>But this doesn't work even when, seemingly, the MIAW is the active window.
>Its title bar is bliue, the stage's title bar is greyed, the MIAW is on
>top (in front of) the stage, so why isn't it the activeWindow?
>
>The D8 docs say that when the active window is a MIAW, the system property
>the actriveWindow is the name of the MIAW. I haven't been able to
>demonstrate this.
>
>Could someone please tell me wherte my misconception is, and perhaps ohow
>I can prevent the stage in the background from capturing the mouseEnter
>and mouseWithin events?
>
>This is all on Windows 2000 and D8.
>
>Thanks!
>
>Slava
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]