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. The Lounge
  3. A place out of view

A place out of view

Scheduled Pinned Locked Moved The Lounge
questionwinforms
5 Posts 4 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.
  • L Offline
    L Offline
    loyal ginger
    wrote on last edited by
    #1

    I was doing something with a Windows Forms application and noticed that when the main form is minimized, its Left and Top properties are both -32000. That's way out of view of a normal system. Why does it do that? I wonder if anyone has a system with high enough resolution to make one of the monitors display stuff in that location. Just curious.

    P raddevusR A 3 Replies Last reply
    0
    • L loyal ginger

      I was doing something with a Windows Forms application and noticed that when the main form is minimized, its Left and Top properties are both -32000. That's way out of view of a normal system. Why does it do that? I wonder if anyone has a system with high enough resolution to make one of the monitors display stuff in that location. Just curious.

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #2

      Did it show up your neighbor's screen?

      L 1 Reply Last reply
      0
      • P PIEBALDconsult

        Did it show up your neighbor's screen?

        L Offline
        L Offline
        loyal ginger
        wrote on last edited by
        #3

        I did not hear screaming from the neighbors. Maybe the window was too small and they did not have glasses on.

        1 Reply Last reply
        0
        • L loyal ginger

          I was doing something with a Windows Forms application and noticed that when the main form is minimized, its Left and Top properties are both -32000. That's way out of view of a normal system. Why does it do that? I wonder if anyone has a system with high enough resolution to make one of the monitors display stuff in that location. Just curious.

          raddevusR Offline
          raddevusR Offline
          raddevus
          wrote on last edited by
          #4

          A known issue: https://stackoverflow.com/questions/1478765/location-coordinates-on-computer-showing-x-32000-y-32000[^] And, I think that the minimized state does this because the coords are basically "non-existent" when the window is minimized. It could even be the way that the window is "hidden" when minimized. Meaning that Windows itself considers the window to be at -32000, -32000 in order to hide it to fulfill the functionality that the window is minimized. You know? Meaning that they just throw the window off-screen and show you an icon on the navbar. That may be "how window minimize is done" as a "trick".

          1 Reply Last reply
          0
          • L loyal ginger

            I was doing something with a Windows Forms application and noticed that when the main form is minimized, its Left and Top properties are both -32000. That's way out of view of a normal system. Why does it do that? I wonder if anyone has a system with high enough resolution to make one of the monitors display stuff in that location. Just curious.

            A Online
            A Online
            Andre Oosthuizen
            wrote on last edited by
            #5

            That is about the time you realize you need glasses - to view what seems to ne out of scope to what is really visible - me being an old grump wearing glasses :) :laugh:

            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