Giving Focus to an App with this hWND
Posted on 2000-03-16
I have used the GetForegroundWindow() fn. to obtain the handle to the window who currently has focus. Now i am planning on moving the focus from this app to another via the AppActivate() fn. What i want to know is, is there an function i can call that will allow me to set the original app as having focus again once i am done? Specifically, is there a SetForegroundWindow() fn so that i may pass the hWnd that i got from GetForegroundWindow()?