BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Restoring a hidden process

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (WinAPI)
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Mon Jan 23, 2006 5:04 pm    Post subject: Restoring a hidden process Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (WinAPI) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.