|
-
Oct 7th, 2006, 04:05 PM
#2
Re: [2005] Hide window of a process that has already started
I don't know if there is a better way in .Net, but you can use APIs, FindWindow to find the window you want to minimize, and SetWindowPlacement to minimize it (uses WINDOWPLACEMENT type/enum with SW_SHOWNORMAL, SW_SHOWMAXIMIZED, and SW_SHOWMINIMIZED values).
Use GetWindowPlacement to check if it's not already minimized.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|