c# - How to open process on dual monitor? -


i have c# application should open process on second screen if there more 1 screen. cannot working. ideas?

array screens = screen.allscreens; if (screens.length > 1) {     // open in second monitor } else {     system.diagnostics.process.start(inputdata); } 

it should same data in else, open on second monitor in empty if.

there no standard way specify on screen application appear when launch it. however, either:

  • handle in started app (if have code of course)
  • find handle of main window after process has started, , move second screen using win32 interop

Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -