PCbanter

PCbanter (http://www.pcbanter.net/index.php)
-   Windows XP Help and Support (http://www.pcbanter.net/forumdisplay.php?f=15)
-   -   Set focus to current console window ? (http://www.pcbanter.net/showthread.php?t=1090946)

R.Wieser June 30th 14 10:17 AM

Set focus to current console window ?
 
Hello All,

I've got a batch file which starts a GUI program and will wait for it to
close (standard behaviour). The problem is that the focus does not return
to the (full screen) console-window when the GUI program terminates.

My question therefore is, is there a standard method to get that focus back
to the console-window ?

If not, does anybody know of some (standard) programming to do it ?

Regards,
Rudy Wieser




R.Wieser July 1st 14 10:31 AM

Set focus to current console window ? A self-reply
 
Problem solved.

It turns out that the console-window regained focus (as could be seen in the
taskbar), it just wasn't restored to its former glory. Executing a small
program afterwards now takes care of that too.

Regards,
Rudy Wieser


-- Origional message.
R.Wieser schreef in berichtnieuws
...
Hello All,

I've got a batch file which starts a GUI program and will wait for it to
close (standard behaviour). The problem is that the focus does not return
to the (full screen) console-window when the GUI program terminates.

My question therefore is, is there a standard method to get that focus

back
to the console-window ?

If not, does anybody know of some (standard) programming to do it ?

Regards,
Rudy Wieser






All times are GMT +1. The time now is 01:27 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2004 - 2006 PCbanter
Comments are property of their posters