Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Drawing Window on Second Display...?

Drawing Window on Second Display...?

Scheduled Pinned Locked Moved C#
graphicsquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jkersch
    wrote on last edited by
    #1

    Hi there, i wonder if there is a way to open a window on a specific display. i have workstations with 2 monitors attached, but programs always show on the first display. is there a way to open them on the second display? any ideas? thanks a lot jkersch

    M 1 Reply Last reply
    0
    • J jkersch

      Hi there, i wonder if there is a way to open a window on a specific display. i have workstations with 2 monitors attached, but programs always show on the first display. is there a way to open them on the second display? any ideas? thanks a lot jkersch

      M Offline
      M Offline
      Marc Clifton
      wrote on last edited by
      #2

      What OS are you using? With XP, I've never encountered this problem. In fact, I have the opposite problem--when I take my laptop somewhere, many apps end up opening up off-screen because that's where the they were last on the now disconnected second monitor! Marc MyXaml Advanced Unit Testing

      J 1 Reply Last reply
      0
      • M Marc Clifton

        What OS are you using? With XP, I've never encountered this problem. In fact, I have the opposite problem--when I take my laptop somewhere, many apps end up opening up off-screen because that's where the they were last on the now disconnected second monitor! Marc MyXaml Advanced Unit Testing

        J Offline
        J Offline
        jkersch
        wrote on last edited by
        #3

        well, i´m using WinXP,SP2 German.but it should also work on win2kpro german. but normally displays won´t get disconnected. is it possible to select explicitely which of the connected displays to use showing forms? i know its possible to enumerate connected displays via native call EnumDisplayMonitors(NULL, NULL, MyInfoEnumProc, 0); but i didn´t get it to work by now via native calls. i wonder if there is possibility to do it with just .NET

        M 1 Reply Last reply
        0
        • J jkersch

          well, i´m using WinXP,SP2 German.but it should also work on win2kpro german. but normally displays won´t get disconnected. is it possible to select explicitely which of the connected displays to use showing forms? i know its possible to enumerate connected displays via native call EnumDisplayMonitors(NULL, NULL, MyInfoEnumProc, 0); but i didn´t get it to work by now via native calls. i wonder if there is possibility to do it with just .NET

          M Offline
          M Offline
          Marc Clifton
          wrote on last edited by
          #4

          I'm not aware of any .NET classes that deal with multiple monitors. You might want to look at this though: http://www.realtimesoft.com/ultramon/[^] It has [edit] an SDK with [/edit] source code, but not .NET, unless someone has ported it. Still, it might give you some information as to the underlying API's and tricks to use. Marc MyXaml Advanced Unit Testing

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups