|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
SW_HIDE for CreateProcess API
Hello, I just googled and the closest I can get to using CreateProcess to open the application hidden is getting it to make it minimized, but I was wondering if I their was a SW_HIDE equivalent I could use in CreateProcess to make it fully hidden?
|
|
#2
|
|||
|
|||
|
Quote:
You could wait for the main window to be created and send a SW_HIDE to it. ...Is this a console application or windows that you want to hide?
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
|||
|
|||
|
its not console, only reason I'm using createprocess is because of the example posted here: http://forums.devshed.com/t160194/s.html for waiting before execution is done before continuing.
|
|
#4
|
|||
|
|||
|
I got confused...explain better your problem maybe...
Want you hide your application until the finish of a second one that you started? |
|
#5
|
|||
|
|||
|
Code:
si.cb := SizeOf(si);
si.dwFlags := STARTF_USESHOWWINDOW or STARTF_USESTDHANDLES;
si.wShowWindow := SW_HIDE;
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Delphi Programming > SW_HIDE for CreateProcess API |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|