 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Mon Jan 23, 2006 5:04 pm Post subject: Restoring a hidden process |
|
|
Hi,
I am opening an exe from my C# windows application, through
system.diagnostics.process.start() -
process.StartInfo.FileName = "c:\\windows\\system32\\vkey.exe";
]
process.StartInfo.WorkingDirectory = "c:\\";
process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
process.Start();
I am starting the process in the hidden mode (processwindowstyle
hidden) and then I am doing some customization like setting window
style, windows position etc... using win32 API. After this I need to
restore the process again i.e show the hidden process window.
I tried using the win32 API function - ShowWindow(processHandle,
SW_SHOW). But it did not work.
Anyone has any idea, how to do it? |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|