Answered by:
is it possible to make a CustomTaskPanes appear always on the top when playing the slideshow.

Question
-
Am writing an add-in for PowerPoint. I create a CustomTaskPane, but it will not show when I start the slideshow view.
Is there any way to keep the CustomTaskPane still appear on top of the slideshow? Please advise. Thanks.Wednesday, December 10, 2008 10:00 AM
Answers
-
Hello JSWeng,
I'm not sure - not with a custom Task Pane.
You will need a Hack that places a Window as Overlay on Top of the Presentation Window.
If you have expirience with Windows API Programming you can try to find the the PP Presentation Window Handle using Spy++.
Then when a Presentation is active you could try to set this Window as Parent for your Own Window.
This is how I would try to do it.
Here is a sample that shows you some basic steps involved... (Spy++, Windows API, FindWindow)
http://www.codeproject.com/KB/office/CustomAddressDialog.aspx
Maybe ther's already another Solution for your Problem.
Try to post in a PowerPoint specific Forum.
As I said - I'm not a PP specialist.
Cheers - Helmut
Helmut Obertanner [http://www.x4u.de] [http://www.outlooksharp.de]- Marked as answer by JSWeng Friday, December 12, 2008 12:31 AM
Thursday, December 11, 2008 7:11 AMAnswerer
All replies
-
Hi JSWeng,
do you mean while the Slideshow is running - or just if you click on the Slide Show TAB?
- Sorry I'm not a PP Specialist -
Greets - Helmut
Helmut Obertanner [http://www.x4u.de]Wednesday, December 10, 2008 9:19 PMAnswerer -
Thanks for you reply.
I mean when the slideshow is running.
Is it possible to do it?Thursday, December 11, 2008 1:57 AM -
Hello JSWeng,
I'm not sure - not with a custom Task Pane.
You will need a Hack that places a Window as Overlay on Top of the Presentation Window.
If you have expirience with Windows API Programming you can try to find the the PP Presentation Window Handle using Spy++.
Then when a Presentation is active you could try to set this Window as Parent for your Own Window.
This is how I would try to do it.
Here is a sample that shows you some basic steps involved... (Spy++, Windows API, FindWindow)
http://www.codeproject.com/KB/office/CustomAddressDialog.aspx
Maybe ther's already another Solution for your Problem.
Try to post in a PowerPoint specific Forum.
As I said - I'm not a PP specialist.
Cheers - Helmut
Helmut Obertanner [http://www.x4u.de] [http://www.outlooksharp.de]- Marked as answer by JSWeng Friday, December 12, 2008 12:31 AM
Thursday, December 11, 2008 7:11 AMAnswerer -
Thanks, I managed to find a workaround.
In fact, i just want to show some video captured from webcam to be showed on the slideshowwindow. The video is shown in an IVideoWindow (a DirectShow class), and it has a method called put_Owner. I just need to call this function to set the owner to the slideshowwindow. And it works.
Thanks, Helmut.Friday, December 12, 2008 12:30 AM