Search code examples
c#.netdialoglaunching-applicationsuppress

How to suppress dialog/popup window of application that you have just launched from your C# code?


From my C# app I'm launching annother app, which before execution sometimes show dialog/popup with some info.

Is it possible to suppress or hide this dialog and taskbar icon of the dialog ?

EDIT


Is it possible to intercept a call to the win32 function which would show this dialog and thus preventing a popup ?


Solution

  • You can FindWindow via PInvoke and then send message WM_CLOSE or click Cancel button or whatever.