John Labenski <jlaben...@gmail.com> wrote:
(29/05/2009 21:00)

>> This looks like it should work, but it won't:
>>  INPUT:Connect(wx.wxEVT_ENTER_WINDOW,function(E)  FRAME:Show(true)  
>> FRAME:Raise(true)  end)
[snip]
>>
>
>I don't know about this, you might have to call Raise() after the
>enter window event handler is finished, use a timer or a flag with an
>idle event. You might want to stick with your philosophy of letting
>the OS behave the way it wants to behave. :)
>

Philosophy is a very fickle thing...

Actually I reckon FRAME:Raise() is just broken because I tried something 
obvious that never occured to me yersterday: FRAME:Lower()
I omitted the FRAME:Show() for this, as well as when retrying Raise() in place 
of Lower()
I ran the script, put its window over another window (text editor), and an 
Explorer window, active, over most of the script's frame window. I then 
mouse-entered the INPUT panel area as before, and the inactive frame window 
jumped behind the text editor. If Lower() works, surely Raise() being the exact 
inverse should work too, but it doesn't.


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to