Chris,

>Where can I get the nCmdShow argument from WinMain in a WinForms app?

The only thing that comes to mind is PInvoking GetStartupInfo().

You'd think that 
System.Diagnostics.Process.GetCurrentProcess().StartInfo.WindowStyle should 
do it, but it doesn't seem to work as expected.


Mattias

===
Mattias Sjögren
[EMAIL PROTECTED]

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to