<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Programmatically enable extended monitors in Developing Games on Intel Graphics</title>
    <link>https://community.intel.com/t5/Developing-Games-on-Intel/Programmatically-enable-extended-monitors/m-p/905261#M664</link>
    <description>Howdy,&lt;BR /&gt;&lt;BR /&gt;I'm working on an MSI motherboard with Intel GMA graphics. It has 2 DVI ports and 2 internal VGA ports. I need to force output (as extended desktop) to the 2 DVI ports. I can do this with the intel graphics utility (in windows xp), but if I happen to turn the machine back on with the DVI cables unplugged, the Intel drivers switch everything back to an internal VGA port. On subsequent boots, the machine stays in VGA mode.&lt;BR /&gt;&lt;BR /&gt;I've tried to fix this by developing my own windows service/startup app using ChangeDisplaySettingsEx (http://msdn.microsoft.com/en-us/library/aa923082.aspx). e.g.&lt;BR /&gt;
&lt;PRE&gt;[cpp]            ....&lt;BR /&gt;            defaultMode.dmPosition.x += 1024;&lt;BR /&gt;            defaultMode.dmFields = DM_POSITION; &lt;BR /&gt;            ChangeDisplaySettingsEx((LPSTR)DisplayDevice.DeviceName, &lt;BR /&gt;                    &amp;amp;defaultMode, NULL, CDS_NORESET|CDS_UPDATEREGISTRY, NULL); &lt;BR /&gt;&lt;BR /&gt;            // A second call to ChangeDisplaySettings updates the monitor.&lt;BR /&gt;            ChangeDisplaySettings(NULL, 0); &lt;BR /&gt;[/cpp]&lt;/PRE&gt;
....&lt;BR /&gt;&lt;BR /&gt;This kinda works. It enables the extended desktop - but unfortunately it extends onto the VGA port (regardless of which DisplayDevice instance I pass into it). &lt;BR /&gt;&lt;BR /&gt;Am I calling ChangeDisplaySettingsEx incorrectly?&lt;BR /&gt;Would it be better to develop with an Intel API instead? If so, which one?&lt;BR /&gt;&lt;BR /&gt;Any suggestions would be greatly appreciated!!&lt;BR /&gt;Thank You,&lt;BR /&gt;Sheado&lt;BR /&gt;</description>
    <pubDate>Fri, 13 Feb 2009 06:56:47 GMT</pubDate>
    <dc:creator>sheado</dc:creator>
    <dc:date>2009-02-13T06:56:47Z</dc:date>
    <item>
      <title>Programmatically enable extended monitors</title>
      <link>https://community.intel.com/t5/Developing-Games-on-Intel/Programmatically-enable-extended-monitors/m-p/905261#M664</link>
      <description>Howdy,&lt;BR /&gt;&lt;BR /&gt;I'm working on an MSI motherboard with Intel GMA graphics. It has 2 DVI ports and 2 internal VGA ports. I need to force output (as extended desktop) to the 2 DVI ports. I can do this with the intel graphics utility (in windows xp), but if I happen to turn the machine back on with the DVI cables unplugged, the Intel drivers switch everything back to an internal VGA port. On subsequent boots, the machine stays in VGA mode.&lt;BR /&gt;&lt;BR /&gt;I've tried to fix this by developing my own windows service/startup app using ChangeDisplaySettingsEx (http://msdn.microsoft.com/en-us/library/aa923082.aspx). e.g.&lt;BR /&gt;
&lt;PRE&gt;[cpp]            ....&lt;BR /&gt;            defaultMode.dmPosition.x += 1024;&lt;BR /&gt;            defaultMode.dmFields = DM_POSITION; &lt;BR /&gt;            ChangeDisplaySettingsEx((LPSTR)DisplayDevice.DeviceName, &lt;BR /&gt;                    &amp;amp;defaultMode, NULL, CDS_NORESET|CDS_UPDATEREGISTRY, NULL); &lt;BR /&gt;&lt;BR /&gt;            // A second call to ChangeDisplaySettings updates the monitor.&lt;BR /&gt;            ChangeDisplaySettings(NULL, 0); &lt;BR /&gt;[/cpp]&lt;/PRE&gt;
....&lt;BR /&gt;&lt;BR /&gt;This kinda works. It enables the extended desktop - but unfortunately it extends onto the VGA port (regardless of which DisplayDevice instance I pass into it). &lt;BR /&gt;&lt;BR /&gt;Am I calling ChangeDisplaySettingsEx incorrectly?&lt;BR /&gt;Would it be better to develop with an Intel API instead? If so, which one?&lt;BR /&gt;&lt;BR /&gt;Any suggestions would be greatly appreciated!!&lt;BR /&gt;Thank You,&lt;BR /&gt;Sheado&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Feb 2009 06:56:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Developing-Games-on-Intel/Programmatically-enable-extended-monitors/m-p/905261#M664</guid>
      <dc:creator>sheado</dc:creator>
      <dc:date>2009-02-13T06:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically enable extended monitors</title>
      <link>https://community.intel.com/t5/Developing-Games-on-Intel/Programmatically-enable-extended-monitors/m-p/905262#M665</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Still have not heard anything about this yet. But still looking into it for you. &lt;BR /&gt;- Chuck</description>
      <pubDate>Fri, 20 Feb 2009 19:53:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Developing-Games-on-Intel/Programmatically-enable-extended-monitors/m-p/905262#M665</guid>
      <dc:creator>Chuck_De_Sylva</dc:creator>
      <dc:date>2009-02-20T19:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically enable extended monitors</title>
      <link>https://community.intel.com/t5/Developing-Games-on-Intel/Programmatically-enable-extended-monitors/m-p/905263#M666</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/334073"&gt;Chuck De Sylva (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; &lt;BR /&gt;Still have not heard anything about this yet. But still looking into it for you. &lt;BR /&gt;- Chuck&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;awesome.. thank you, i really appreciate it - i'm totally stuck on this one.&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Feb 2009 20:04:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Developing-Games-on-Intel/Programmatically-enable-extended-monitors/m-p/905263#M666</guid>
      <dc:creator>sheado</dc:creator>
      <dc:date>2009-02-20T20:04:38Z</dc:date>
    </item>
  </channel>
</rss>

