remote application: problem with modal dialog
-
Hi, I'm developing a remote application, which means a windows application that controls an existing windows application by using the Win32 API (SendMessage, FindWindow, etc.). Problem is the following: The other application, which already runs and has to be controlled, has a button, that opens an OpenFileDialog, when being clicked. My remote application does so by sending the appropriate message to the other form. The OpenFileDialog is shown, but my remote application stops processing its code, it doesn't continue working (easy to see in debugger: code is executed till button click command is sent, then everything stops. If I manually cancel the OpenFileDialog, rest of the code is executed)! This is a situation that I want to avoid, I want the application to work on. Any ideas how to circumvent that? Greetings working in visual c# express 2005 developing usual windows application
-
Hi, I'm developing a remote application, which means a windows application that controls an existing windows application by using the Win32 API (SendMessage, FindWindow, etc.). Problem is the following: The other application, which already runs and has to be controlled, has a button, that opens an OpenFileDialog, when being clicked. My remote application does so by sending the appropriate message to the other form. The OpenFileDialog is shown, but my remote application stops processing its code, it doesn't continue working (easy to see in debugger: code is executed till button click command is sent, then everything stops. If I manually cancel the OpenFileDialog, rest of the code is executed)! This is a situation that I want to avoid, I want the application to work on. Any ideas how to circumvent that? Greetings working in visual c# express 2005 developing usual windows application