How can I ensure that a wxFrame is brought to the foreground?

Posted by George Edison on Stack Overflow See other posts from Stack Overflow or by George Edison
Published on 2010-03-31T05:21:37Z Indexed on 2010/03/31 5:23 UTC
Read the original article Hit count: 295

Filed under:
|
|
|

I have a wxFrame that receives events. Whenever an event comes in, I want the frame to be brought to the foreground.

I'm currently using:

my_frame->SetFocus();

But that doesn't seem to work for minimized frames. How can I set the frame as the active window and bring it to the front?

© Stack Overflow or respective owner

Related posts about wxwidgets

Related posts about set