Jump to content

Secondary Monitor Resolution


Recommended Posts

Hi All

I have an application where I require 2x monitors running under XP (in an extended desktop). I need to programmatically set the resolution of the secondary monitor - and at the same time leaving the primary monitor in its usual resolution. I understand that the ChangeDisplaySettingsEx fn can be used to do this via User32.dll. Can someone point me to an example vi on how this might be achieved please. Many thanks :worshippy:

Link to comment

Thanks for the quick response, but I had already seen that DLL, but it seems only to switch primary monitor resolutions. I was hoping to find something functionally similar that switched the secondary only or itself had a selector to choose which monitor was to switch resolution.

Link to comment

Hi All

I found a utility called "Display Changer" from 12 Noon, that seems to work fine. Its a stand alone .exe (dccmd.exe), but have managed to plumb in some string handling to enable command line control over resolution, depth, frequency etc control of the primary or secondary monitors independently from within LV. If someone has a better solution - would love to hear from them.

http://12noon.com/?page_id=80

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.