Powerpoint Addin: Resume slide presentation after Form.ShowDialog

B

bruceradtke

I am writing a PPT addin and it displays a form during a slide show
presentation.

When the form is closed, the keyboard focus does not return to the slide
show presentation. IF I press a spacebar which would normally advace to the
next slide nothing happens.

I observer from the main powerpoint application window, a small dialog
appears "Resume Slide Show". It appears that showing my modal dialog has
caused PPT to be in a suspended state.

I've tried various API functions - SetForegroundWindow, SetWindowPos, and
BringWindowToTop - to set keyboard focus back to the slide show but no
success.

How can I 'resume' the slide show after showing my modal dialog (
Form.ShowDialog).

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top