Home All Groups Group Topic Archive Search About

How to start process w/ equivalent of Win32 SW_SHOWNOACTIVATE?

Author
1 Nov 2005 5:19 PM
Peter Franks
(Assuming .Net 1.1)

How do I create a process and specify that the window should *not* be
activated, similar to (Win32)
STARTUPINFO.wShowWindow = SW_SHOWNOACTIVATE

?

ProcessWindowStyle only supports Hidden, Maximized, Minimized, and Normal.

At this point, I'm presuming that I have to drop into P/Invoke and call
the Win32 API, messy at best.

AddThis Social Bookmark Button