Please help !!!
-
Hi All, I am creating an application in which I created a front page in Dialog based application. There in the front page I placed some buttons of different applications. When I chick any button which is inside the front page the partitcular application starts running. I set that application window on top using SetWindowPos() function. now the problem is While running any application from the front page, the front page doesnt get disabled. I can close, minimize or maximize the front page. That is what I dont want. I want that whenever any application runs from my front page the front page get COMPLETELY disabled. please help.... Thanks.
-
Hi All, I am creating an application in which I created a front page in Dialog based application. There in the front page I placed some buttons of different applications. When I chick any button which is inside the front page the partitcular application starts running. I set that application window on top using SetWindowPos() function. now the problem is While running any application from the front page, the front page doesnt get disabled. I can close, minimize or maximize the front page. That is what I dont want. I want that whenever any application runs from my front page the front page get COMPLETELY disabled. please help.... Thanks.
use api EnableWindow(FALSE)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/xml>
-
Hi All, I am creating an application in which I created a front page in Dialog based application. There in the front page I placed some buttons of different applications. When I chick any button which is inside the front page the partitcular application starts running. I set that application window on top using SetWindowPos() function. now the problem is While running any application from the front page, the front page doesnt get disabled. I can close, minimize or maximize the front page. That is what I dont want. I want that whenever any application runs from my front page the front page get COMPLETELY disabled. please help.... Thanks.
You can use WaitForSingleObject API to wait the new process to terminate. You can use the process handle from the PROCESS_INFORMATION structure populated by the CreateProcess API.
-
You can use WaitForSingleObject API to wait the new process to terminate. You can use the process handle from the PROCESS_INFORMATION structure populated by the CreateProcess API.
-
Thanks It worked. :) But as soon as I close this new process which I am creating from "CreateProcess()" my main page is also gets closed. It terminates both the processes. How to avoid this, any ideas?
modified on Tuesday, August 5, 2008 3:27 AM
Could you please provide the code block ?