onlyadghosh
Technical User
Hi,
I have an event based 2 tier application. Now when my application is running, if I activate a different application( for ex. win explorer), my application becomes active after receiving an event from backend although it was not in focus. But I do not want my application to be at top after receiving an event. It should process the event but should not come up.
Hence for this I want to check whether my application is in focus or not, if it is not in focus then I will decrase the Z order of the application window(opposite to ::BringWindowToTop()) so that it does not appear at
top unless and until I activate it.
Pls help me in this regard, I urgently need the solution.
Thanxs in Advance.
I have an event based 2 tier application. Now when my application is running, if I activate a different application( for ex. win explorer), my application becomes active after receiving an event from backend although it was not in focus. But I do not want my application to be at top after receiving an event. It should process the event but should not come up.
Hence for this I want to check whether my application is in focus or not, if it is not in focus then I will decrase the Z order of the application window(opposite to ::BringWindowToTop()) so that it does not appear at
top unless and until I activate it.
Pls help me in this regard, I urgently need the solution.
Thanxs in Advance.