Jump to content

How to detect a second monitor ?


Recommended Posts

Hi,

Is there a way to programmatically detect if there is one or 2 (or more) screens connected to the computer ?

What I'd like to do is to detect the presence of a second screen, and if it's connected display a window on the second one.

I guess it will be different on Windows and MacOS X, so my question is for both of them ;)

Any idea ?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.