If it's going to work then Raise would do it, however most platforms these days will try to block raising a frame while another application is active. Instead they provide a way to tell the user that the frame should be raised manually, which you can use with frame.RequestUserAttention()
···
On 11/16/11 7:25 AM, francois wrote:
Hello list!
Is there a way to bring back a frame to the foreground even if the wx
application doesn't have the focus anymore?
(The reason the application has not the focus anymore is that the user
use an application like powerpoint in the foreground)
If it's going to work then Raise would do it, however most platforms
these days will try to block raising a frame while another application
is active. Instead they provide a way to tell the user that the frame
should be raised manually, which you can use with
frame.RequestUserAttention()
--
Robin Dunn
Software Craftsmanhttp://wxPython.org