OnStartupComplete and PowerPoint main window.

B

BatKing

Hi,

I am working on a PowerPoint 2007 COM Add-in. my Add-in requires to retrieve
information from a server. hence providing login credentail is needed.

in the OnStartupComplete method, I have a call to check to see if a registry
entry for login credential existing. if not a Form dialog will popup to ask
the user input the login credentails. My problem is, during OnStartupComplete
being called, the PowerPoint main window is not exist yet. hence my login
input dialog looks like a standard alone dialog box. and there is no
parent/child relationship with the PowerPoint main window and the popup dialog

I have a bit experience with Outlook. for Outlook, in OnStartupComplete, the
outlook main window is already instantiated. but in PowerPoint case, there is
no windows.

is there anyway I can wait until the full PowerPoint application window
appears then show my dialog?

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