I am making an app that hides the topmost window, but when i do this, it leaves no current window selected. how can i make the highest unselected window selected?
Sorry, i dont think i made myself clear enough. I am making an app that shows and hides other windows (the topmost window) according to its hwnd using the api's GetForeGroundWindow and ShowWindow. When i hide a window, it makes no window in focus. I Guess that the window that was hiden is still in focus, just nothing can be done with that window. I am wondering how i can get the second topmost window, by using the z order or something. Im not Completly sure I also have a problem were it hides the desktop, and if i use the api GetDesktopWindow, and GetForeGround Window, the HWNDs do not match. Would be great if you could help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.