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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Dual monitor problem [Solved]

Dual monitor problem [Solved]

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
3 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.
  • Y Offline
    Y Offline
    yu jian
    wrote on last edited by
    #1

    It has two monitor, main and expand monitor. The expand monitor in the top with higher resolution ratio, and the main minitor in the bottom. But if I drag a window to the expand monitor and then double click to show maximium, it has problem, it cannot fill of the windows of the expand monitor? why ? It save the main monitor rectangle info, how to change it.

    L 1 Reply Last reply
    0
    • Y yu jian

      It has two monitor, main and expand monitor. The expand monitor in the top with higher resolution ratio, and the main minitor in the bottom. But if I drag a window to the expand monitor and then double click to show maximium, it has problem, it cannot fill of the windows of the expand monitor? why ? It save the main monitor rectangle info, how to change it.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      yu-jian wrote:

      It has two monitor

      What does - your PC or something else? And, what does this have to do with C++?

      Veni, vidi, abiit domum

      Y 1 Reply Last reply
      0
      • L Lost User

        yu-jian wrote:

        It has two monitor

        What does - your PC or something else? And, what does this have to do with C++?

        Veni, vidi, abiit domum

        Y Offline
        Y Offline
        yu jian
        wrote on last edited by
        #3

        I had resolved this problem, Use EnumDisplayMonitors to judge which monitor the application is in. And then set the new maxmium position for the application.

        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