One Dev Question with Raymond Chen - What Monitor Does a Window Default To?

Download this episode

Download Video

Download captions

Download Captions


The 'One Dev Question with Raymond Chen' video series is part of the One Dev Minute channel.  In this series, longtime Microsoft developer and semi-official Windows historian Raymond Chen covers a series of questions about Microsoft Windows development, team culture, and/or history.  If you have additional questions for Raymond, please add your questions in the comments section below.  You can also find out more development details about Windows and its history on Raymond's blog.



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image

      Over the years, I have come to the conclusion that unless an app explicitly specifies which monitor a window should appear on (eg, restoring coordinates persisted when the app was last closed), it'll default to the monitor where the mouse pointer happens to be on by the time it's ready to be shown.

      Is there any truth to this, or is that just my imagination?  I definitely have some apps that make no effort to try to remember where they last showed up, and they consistently"follow the mouse" in this fashion.  Others...not so much.  So to this day I wonder whether this is behavior inherited from Windows itself or not.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.