PowerPoint Dialog

T

TD

I am trying to bring up the PowerPoint Options dialog in our application but
for some reason this doesn't seem to work. It does however work basically
the same way for both Word and Excel. Does anyone know if this is supported
for PowerPoint? The problem seems to be at the call to pApp->GetDialogs();
which is throwing an exception of E_NOINTERFACE.

PowerPoint::_PresentationPtr pDoc =
(PowerPoint::_PresentationPtr)pCurrentDoc->GetDocPtr();
PowerPoint::_ApplicationPtr pApp = pDoc->GetApplication();
PowerPoint::pPDialogsPtr dlgs = pApp->GetDialogs();
PowerPoint::pPDialogPtr dlg = dlgs->Item(PowerPoint::ppDialogStandard);
 

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