I'm trying to block mouseEnter events in the stage, when a MIAW is over the 
stage: when the MIAW has focus, and the user types in a MIAW's input field, 
it's not really appropriate for the tooltips in the stage behind the MIAW 
to pop up, for example. I found that I can block these events in Windows 
thusly:

--sprite behavior in the stage movie
on mouseEnter
   if baActiveWindow() <> baWinHandle() then exit
   --the rest of the handler goes here
end mouseEnter

However, under MacOS, baActiveWindow() and baWinHandle() return the same 
result no matter whether it's the stage that has the focus or the MIAW.

Another thing I tried is this:

--sprite behavior in the stage movie
on mouseEnter
   if the activeWindow <> (the stage) then exit
   --the rest of the handler goes here
end mouseEnter

But again, it seems that no matter whether the stage has the focus, or the 
MIAW, I always see the same thing:

on mouseEnter
   PUT the activeWindow
end

--(the stage)

Is there a way to determine whether the focus is in the MIAW or the stage, 
for my purposes?

How come these two Buddy API functions return different results on the Mac 
and under Windows? No differences are mentioned in the Buddy docs, but 
perhaps it's some basic difference between the two OS's that I'm missing?

Thanks for any tips!
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!]

Reply via email to