BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Powerpoint: How to control presentation windows?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
Axel Kellermann
Guest





PostPosted: Wed Sep 20, 2006 5:56 pm    Post subject: Powerpoint: How to control presentation windows? Reply with quote



Hello NG,

I use the following steps to open and display a PowerPoint presentation from
within my application:

- create an instance of TPowerPointApplication
- create an instance of TPowerPointPresentation
- connect instance of TPowerPointPresentation to instance of
TPowerPointApplication
- load presentation
- set properties of presentation
- start presentation

Everything works fine with the exception that I can't define which window is
used to actually render the presentation. Every time i open a presentation
it is displayed in a newly created window and that's not exactly what I had
in mind. I want to display the presentation inside a TPanel component on my
main window.
My question is: is there a way to define the "container" window for the
PowerPoint presentation? I toyed around with the different properties
(interfaces) of TPowerPointApplication and TPowerPointPresentation (like
Windows, SlideShowWindow e.g.) but didn't find a way specify the window used
by the presentation. The only thing I got working is moving and resizing the
presentation window. But that's also kind of awkward because values for
position and size have to be given in points instead of pixels...


I hope this is the right group to ask this question. Sorry if not.

Thanks,

Axel
Back to top
Riki Wiki
Guest





PostPosted: Wed Sep 20, 2006 11:30 pm    Post subject: Re: Powerpoint: How to control presentation windows? Reply with quote



On Wed, 20 Sep 2006 14:56:31 +0200, Axel Kellermann wrote:

Quote:
I hope this is the right group to ask this question. Sorry if not.

Hoi Axel

It is the right newsgroup, but it is the wrong news server.

You need to repost your message on the Borland news server to make
everybody see it and possibly answer your message.

How to post to Delphi newsgroups:
<http://delphi.wikia.com/wiki/Delphi_Newsgroups>
Back to top
Axel Kellermann
Guest





PostPosted: Thu Sep 21, 2006 8:12 am    Post subject: Re: Powerpoint: How to control presentation windows? Reply with quote



I will repost it on newsgroups.borland.com. Thanks for the advice.

Axel

"Riki Wiki" <someone (AT) somewhere (DOT) eu> schrieb im Newsbeitrag
news:xkrqwr012dli$.18ev35u9cprck.dlg (AT) 40tude (DOT) net...
Quote:
On Wed, 20 Sep 2006 14:56:31 +0200, Axel Kellermann wrote:

I hope this is the right group to ask this question. Sorry if not.

Hoi Axel

It is the right newsgroup, but it is the wrong news server.

You need to repost your message on the Borland news server to make
everybody see it and possibly answer your message.

How to post to Delphi newsgroups:
http://delphi.wikia.com/wiki/Delphi_Newsgroups
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.