Making Powerpoint Always on Top

gordoste
gordoste used Ask the Experts™
on
I have a Powerpoint.Application object which i wish to have on top of every other window. How can i set it to be always on top??
I have a function from the web that uses the SetWindowPos API call which takes a hWnd as a parameter - but I don't know how to get the proper hWnd for the Powerpoint window.

Thanks in advance...
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Software Team Lead
Commented:
Try use the FindWindow API to get the window hwnd..

Author

Commented:
Cool thanks!! Turned out i had to use this: http://support.microsoft.com/default.aspx?scid=kb;EN-US;112649 to find out the window class name and then use FindWindow as you suggested. Thanks!!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial