From: Jeff on 30 Jan 2009 20:06 I have used the LockWindowUpdate API call to prevent screen updating while my code is manipulating a presentation. This works great for PowerPoint 2003, but doesn't seem to work for PowerPoint 2007. Is there any solution? In PowerPoint 2007 the screen flashes all over the place while the presentaion is being modified and it look really bad.
From: Shyam Pillai on 31 Jan 2009 11:28 Are you locking the correct window based on the version? Take a look here: http://skp.mvps.org/ppt00033.htm Regards, Shyam Pillai Handout Wizard http://skp.mvps.org/how "Jeff" <Jeff(a)discussions.microsoft.com> wrote in message news:3DEE89A5-199F-46F3-A020-708E733FE742(a)microsoft.com... >I have used the LockWindowUpdate API call to prevent screen updating while >my > code is manipulating a presentation. This works great for PowerPoint > 2003, > but doesn't seem to work for PowerPoint 2007. Is there any solution? > > In PowerPoint 2007 the screen flashes all over the place while the > presentaion is being modified and it look really bad.
From: Jeff on 31 Jan 2009 12:02 Thank you for the response. Yes. I am getting the HWND using FindWindow and searching for "PP12FrameClass". This works for Office 10 & Office 11, but not Office 12. "Shyam Pillai" wrote: > Are you locking the correct window based on the version? Take a look here: > http://skp.mvps.org/ppt00033.htm > > Regards, > Shyam Pillai > > Handout Wizard > http://skp.mvps.org/how > > > "Jeff" <Jeff(a)discussions.microsoft.com> wrote in message > news:3DEE89A5-199F-46F3-A020-708E733FE742(a)microsoft.com... > >I have used the LockWindowUpdate API call to prevent screen updating while > >my > > code is manipulating a presentation. This works great for PowerPoint > > 2003, > > but doesn't seem to work for PowerPoint 2007. Is there any solution? > > > > In PowerPoint 2007 the screen flashes all over the place while the > > presentaion is being modified and it look really bad. >
From: Steve Rindsberg on 31 Jan 2009 12:05 In article <3DEE89A5-199F-46F3-A020-708E733FE742(a)microsoft.com>, Jeff wrote: > I have used the LockWindowUpdate API call to prevent screen updating while my > code is manipulating a presentation. This works great for PowerPoint 2003, > but doesn't seem to work for PowerPoint 2007. Is there any solution? > > In PowerPoint 2007 the screen flashes all over the place while the > presentaion is being modified and it look really bad. Shyam's suggested one approach. Another is to write the code in a way that doesn't force screen refreshes. As a first step, eliminate any code that selects shapes. It's not 100% possible to do this, but quite often you can get away with it. ============================== PPT Frequently Asked Questions http://www.pptfaq.com/ PPTools add-ins for PowerPoint http://www.pptools.com/
From: Jeff on 31 Jan 2009 18:04 Thanks for your help, Steve. Unfortuantely, I need to update data in embedded Excel objects and charts and that requires activating the shapes. Previous Office versions look really good with LockWindowUpdate. PowerPoint 2007 shows all of the updates. "Steve Rindsberg" wrote: > In article <3DEE89A5-199F-46F3-A020-708E733FE742(a)microsoft.com>, Jeff wrote: > > I have used the LockWindowUpdate API call to prevent screen updating while my > > code is manipulating a presentation. This works great for PowerPoint 2003, > > but doesn't seem to work for PowerPoint 2007. Is there any solution? > > > > In PowerPoint 2007 the screen flashes all over the place while the > > presentaion is being modified and it look really bad. > > Shyam's suggested one approach. Another is to write the code in a way that > doesn't force screen refreshes. As a first step, eliminate any code that > selects shapes. It's not 100% possible to do this, but quite often you can get > away with it. > > > ============================== > PPT Frequently Asked Questions > http://www.pptfaq.com/ > > PPTools add-ins for PowerPoint > http://www.pptools.com/ > >
|
Next
|
Last
Pages: 1 2 Prev: how to create a pause action button Next: powerpoint animations from ppt to the presentation |