Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages
Started by Jo�o Pereira
Mon, 05 May 2003 18:13
PowerPoint Presentation in a Form
Author: Jo�o Pereira
Date: Mon, 05 May 2003 18:13
Date: Mon, 05 May 2003 18:13
7 lines
1230 bytes
1230 bytes
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. Thanks Joao PEreira
Re: PowerPoint Presentation in a Form
Author: 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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads