PDA

View Full Version : bring window to front



ekansdiuqil
March 12th, 2009, 05:53 PM
Hi,

I have developed a dialog based program with wxWidgets. I getting key events and open and close other dialogs. I have a problem about getting these key events. After using keys frequently the focus of the dialogs are lost.

The focus is gained with alt+tab again but I have no chance to press alt+tab while this program is working. I think I need a solution which is a console command, like used to shutdown or restart computer:
system("sudo shutdown -h 0");

??