Click here to Skip to main content
13,295,051 members (85,592 online)
Rate this:
Please Sign up or sign in to vote.
See more:

On XP is it possible to switch dual displays from Extend to Clone mode programmatically. I am able to switch from clone to extend programmatically.
Can anybody help me..
thanks in advance.

Posted 4-Apr-12 1:20am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I am not sure in XP the Display settings support the clone mode. Have you made Extended to clone mode by using 'Oemdisp' functions or normal 'ChangeDisplaySettings' msdn function ?
NarayanReddy.ganta 4-Apr-12 7:24am
I used normal Win32 API "ChangeDisplaySettingsEx" to switch from Extend to Clone, and its working fine.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Can you check, Is it possible to make Extended mode to clone mode by using the 'Display Driver' utility. [Advanced Display Properties -> Lauch the driver installed UI of Display Properties and try to switch from Extended to clone mode]. In that case is possible, then it's possible by code as well. We can also do this by giving an additional switching. First switch to Single display from Extended mode then switch to clone mode.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171207.1 | Last Updated 9 Apr 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100