On Fri, May 29, 2009 at 1:22 PM, lostgallifreyan
<[email protected]> wrote:
> 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)
>
>
> INPUT is a panel. I've confirmed it works. Actually the enter event is only
> detected when I let go the dragged file, but that's ok. Trouble is, nothing
> will set it active. wxWidegts appears to offer no SetActive(), and 'focus'
> seems to mean something specific to text fields, and there seems to be no way
> to directly call a frame to appear on top if the pointer is moved into either
> the frame or a child window. I can make all kinds of stuff happen, but not
> that. Searching for 'on top', or 'bring to front' and all manner of similar
> queries draw blanks.
>
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. :)
Regards,
John
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users