Article View: borland.public.cppbuilder.nativeapi
Article #16562Re: PowerPoint Presentation in a Form
From: Vladimir Afanasyev
Date: Wed, 07 May 2003 09:59
Date: Wed, 07 May 2003 09:59
32 lines
1961 bytes
1961 bytes
Hi,
"Jo�o Pereira" <joao@pupula.com> wrote:
>How is it possible to integrate a chosen PowerPoint Presentation file into a
>Form of my application.
>I'm trying using OleContainer but it'll open a new windows, in full screen
>with my Presentation.
>Please if anyone knows how the solve this issue i'll appreceate.
You need to tune your presentation.
Find in your presentation property page (in PowerPoint)
and select "window mode for slide show(controlled by user)
without scrolling" or about it. I am not sure how it looks on
English.
By default it is usually full screen but you need "in-window"
May be it possible to do by Automation - I do not try it.
When you do it you can set next property for OleContainer:
Align - alClient (optionally in another)
AllowActiveDoc - false
AllowInPlace - true
Iconic - false
sizeMode - Autosize (optionally)
and may be follow:
OleContainer1->AllowInPlace=true;
OleContainer1->Iconic=false;
OleContainer1->CreateObjectFromFile("c:\\abc.ppt",false);
Vladimir.
Technical Details
Message-ID:
<3eb8d8fe$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3eb6a9c6@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,b1e57fbb4b56c49b X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-07 03:05:45 PST From: "Vladimir Afanasyev" <avv@systema.kiev.ua> Sender: "Vladimir Afanasyev" <avv@systema.kiev.ua> Reply-To: "Vladimir Afanasyev" <avv@systema.kiev.ua> Subject: Re: PowerPoint Presentation in a Form Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 62.244.14.114 62.244.14.114 X-Forwarded-For: 192.168.0.147 References: <3eb6a9c6@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3eb8d8fe$1@newsgroups.borland.com> Date: 7 May 2003 02:59:26 -0700 X-Trace: newsgroups.borland.com 1052301566 207.105.83.65 (7 May 2003 02:59:26 -0700) Lines: 32 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail