Question:
How do you put focus back in your application window programatically when another application window opens up (say,, a pop-up)? How do you put your application window on top and currently selected/active, programatically?
Alternatively, is it possible NOT TO LOSE FOCUS in the first place?
Note:
showDialog() cannot be used here.. because we cannot stop (close()) the application from running.
i have heard and read of the SetForegroundWindow function, but have no idea and confused on how to use it,, or if it will even work.
APP runs on .NET1.1 Platform, Windows CE 4.1