On Sun, May 31, 2009 at 3:51 PM, lostgallifreyan
<lostgallifre...@gmail.com> wrote:
> Smal update, which might confirm that it is broken in some way.
>
> I found that Raise() will work in my three-window test earlier described, in 
> limkted circumstances. If I have called the Explorer window to the top by 
> using Alt+Tab, I can move the pointer into the wxLua window, and Raise() will 
> bring it to the top. If I click in the explorer window, it breaks Raise() so 
> it fails. Lower() is not affected. I tried SetFocus(), and Show() but haven't 
> yet found anything that acts as if a hovering pointer has clicked in the 
> wxLua window. As clicking in it restores Raise() to working order, until a 
> click is made in some other window, I guess a simulated click might do it. 
> When I test it with drag/drop the results are unpredictable, not consistent, 
> so it really looks broken to me, 'undefined behaviour'. Lower() is very 
> simple, very consistent. Is there a reason why Raise() should not be equally 
> so?
>

I don't really understand what you're trying to do. You first said
that Raise() works, but you couldn't make it active since there is no
function for this. I checked and I didn't see one either. Are you
really sure that that your UI can only work if you bring your app to
the foreground and make it active when the mouse go into the window?
What's wrong with the user dragging stuff onto the app and then
clicking the app the raise and focus it?

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
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to