View Full Version : VC++ Automation: how to know configuration of multiple monitors?


Rob
02-13-2006, 02:37 PM
Hi,

I'm using vc++ 6 to automate PowerPoint 2003 and like to know if user
has configured to use second monitor for slide show. Is there a
property for this in object SlideShowSettings or in some other places?

Thanks
Rob

Steve Rindsberg
02-13-2006, 05:15 PM
In article <1139841421.918835.177230@g44g2000cwa.googlegroups.com>, Rob wrote:
> Hi,
>
> I'm using vc++ 6 to automate PowerPoint 2003 and like to know if user
> has configured to use second monitor for slide show. Is there a
> property for this in object SlideShowSettings or in some other places?

I don't believe PPT exposes this through the OM but look at
HKCU\Software\Microsoft\Office\xx.x\PowerPoint\Options

You can watch the registry after changing the settings in PPT. It'll update
immediately.

The interesting bits appear to be:

DisplayMonitor which display to use
UseMonMgr whether to use presenter view or not

--
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================

Rob
02-16-2006, 12:51 AM
Thanks for the help. It works.