Window wont come to the top
-
I am writing an application that upon the user pressing a funciton key the applicaiton is dispalyed. Even if the user is using another program and this key is pressed. I have tried using the following functions but if I have notepad(or other app) maximized and press the button my appication does not come to top. ShowWindow BringWindowToTop SetWindowPos I have confirmed the hot key is being recognized by poping up a dialog box when it is pressed. I have confirmed the correct handle by using SetWindowPos to move the window. Is there another approach/function I should be using Thank you, SAK
-
I am writing an application that upon the user pressing a funciton key the applicaiton is dispalyed. Even if the user is using another program and this key is pressed. I have tried using the following functions but if I have notepad(or other app) maximized and press the button my appication does not come to top. ShowWindow BringWindowToTop SetWindowPos I have confirmed the hot key is being recognized by poping up a dialog box when it is pressed. I have confirmed the correct handle by using SetWindowPos to move the window. Is there another approach/function I should be using Thank you, SAK