Skip to content
Prev 11791 / 398502 Next

how do I return "focus" to console window

On Wed, 20 Jun 2001 tomsv193 at student.liu.se wrote:

            
This is down to the details of your setup: which interface (MDI or SDI)
and how Windows is controlling the pointer, and so on.  I don't see a
focus shift except when a graphics window is first launched, and that is
deliberate (to bring it to the front).  So I can't tell you how to solve
something I never see.

There is a function bringToTop() to do the reverse, to give focus to the
graphics window.  You could probably modify it to do what you want:
if you do please contribute the modification.