Top-Level Window problem
-
Hi All, I have the problem about focus when execute a new program from my application (I used SHELLEXECUTEINFO to do that). I expect that focus must remain on the new program until it is closed. Current if I run a new program and it does not go full screen I can touch the parent screen and then I have no way to get back the program. Please help me. Thank you very much
-
Hi All, I have the problem about focus when execute a new program from my application (I used SHELLEXECUTEINFO to do that). I expect that focus must remain on the new program until it is closed. Current if I run a new program and it does not go full screen I can touch the parent screen and then I have no way to get back the program. Please help me. Thank you very much
Nguyen Thi Thanh wrote:
Current if I run a new program and it does not go full screen I can touch the parent screen and then I have no way to get back the program.
Pass SW_MAXIMIZE in nShow parameter
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
-
Nguyen Thi Thanh wrote:
Current if I run a new program and it does not go full screen I can touch the parent screen and then I have no way to get back the program.
Pass SW_MAXIMIZE in nShow parameter
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
ThatsAlok wrote:
Pass SW_MAXIMIZE in nShow parameter
In this case, I can click on restore button of window and I can still touch the parent screen. I mean the end user does not have no way to transfer to another screen until the new program is closed. I want the new program running as top-level window. Thank you very much.