Quantcast
Channel: General Office Development forum
Viewing all articles
Browse latest Browse all 2257

PowerPoint 2010: Problem when invalidating the ribbon with multiple presentations open

$
0
0

Hi,

I am developing an addin handling several office 2010 programs (Word, Excel, PowerPoint, Project and Visio). In the addin I have a backstage tab showing some custom properties. To sometimes update the tab I use Invalidate or InvalidateControl("controlName"). In the callbacks I use control.Context to check which window, when multiple documents are open, to get the properties from. This works well for all applications but PowerPoint.

In PowerPoint control.Context always seems to point at the active window. As a result every presentation shows the same properties as the active presentation. Is this a bug in PowerPoint? Is there a way to get around this problem?

Regards


Viewing all articles
Browse latest Browse all 2257


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>