frame.Raise method

Hi all. I wanna ask you for a question about the Raise method.
My problem is this: when I receive some messages from my app, I want to make my frame comes over all other windows, even if it's iconized...
So I used the Raise method. It works when the frame is iconized, but when the frame is not-iconized and behind other windows it doesn't comes
on top... Is there another method to call? Or how I have to do?

thanks a lot

Luca

···

--
Unipex srl

email: luca@unipex.it
Tel: 0432 - 931511
Fax: 0432 - 931378

Luca Politti wrote:

Hi all. I wanna ask you for a question about the Raise method.
My problem is this: when I receive some messages from my app, I want to make my frame comes over all other windows, even if it's iconized...
So I used the Raise method. It works when the frame is iconized, but when the frame is not-iconized and behind other windows it doesn't comes
on top... Is there another method to call? Or how I have to do?

Most platforms these days suggest that apps should not hijack the focus away from other applications that may already be in the foreground, so they've changed their APIs that we are using to implement wx's Raise method to not do that, or at least to not do that in certain situations. Instead we've got the frame.RequestUserAttention method which will do whatever is normal for the platform for signaling to the user that you would like them to look at your application.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!