[delphi-en] Re: Controlling Powerpoint from Delphi app

2006-12-26 Thread kc0fcp
Rob and all, I solved the problem (with some help from MikeR on the progdigy.com forum) by using a combination of making my window Topmost (HWND_TOPMOST), and finding the the Powerpoint Show's handle to call windows.SetForegroundWindow(h). That sets Powerpoint to foreground with every timer tick

Re: [delphi-en] Re: Controlling Powerpoint from Delphi app

2006-12-24 Thread Rob Kennedy
kc0fcp wrote: AFIK, Powerpoint knows nothing about my program. I don't know why the presentation pauses - it seems to be a built-in characteristic of PPT. I reviewed all the show setup options in PPT and didn't see anything about pausing for other windows, though. Apparently, PowerPoint

Re: [delphi-en] Re: Controlling Powerpoint from Delphi app

2006-12-24 Thread Charlie Chambers
- Original Message - kc0fcp wrote: AFIK, Powerpoint knows nothing about my program. I don't know why the presentation pauses - it seems to be a built-in characteristic of PPT. I reviewed all the show setup options in PPT and didn't see anything about pausing for other

Re: [delphi-en] Re: Controlling Powerpoint from Delphi app

2006-12-24 Thread Bobby Clarke
Hi, kc0fcp I wonder if this is a Delphi thing or a Windows thing. I have noticed that when any application losses focus, then the Windows are not updated. For example, if you have an active progress gauge and go and do something else, the gauge apparently stops. It does not restart even if

Re: [delphi-en] Re: Controlling Powerpoint from Delphi app

2006-12-24 Thread Rob Kennedy
Bobby Clarke wrote: I wonder if this is a Delphi thing or a Windows thing. It's neither. It's a PowerPoint thing. http://groups.google.com/groups?q=powerpoint+pauses+loses+focus I have noticed that when any application losses focus, then the Windows are not updated. For example, if you

[delphi-en] Re: Controlling Powerpoint from Delphi app

2006-12-24 Thread Emmanuel Lamy
Hi Charlie, I am facing a similar situation, where I write javascript codes through my application, that wil interact with Acrobat Reader or Viewer. My dilemna is that the Javascript is loaded only when Acrobat reader is started. So, I need to kill the Acrobat Reader process, and restart a

Re: [delphi-en] Re: Controlling Powerpoint from Delphi app

2006-12-24 Thread Charlie Chambers
Hi Emmanuel, I really think that your program could help, if you don't mind sharing it with me. TIA. I'm sending to you private mail box. I'll zip it up. I've put in several items: (1) exe to get running processes - visible and invisible - handles, Win classes, Win Title Thread ID (2) Code

Re: [delphi-en] Re: Controlling Powerpoint from Delphi app

2006-12-24 Thread Rob Kennedy
Bobby Clarke wrote: Rob Kennedy wrote: Are you sure you're not using Windows 3.1? XP is only at SP2. v3.1 isn't out yet! Windows 3.1 was released over 14 years ago. :) -- Rob

[delphi-en] Re: Controlling Powerpoint from Delphi app

2006-12-23 Thread kc0fcp
Rob, Thanks for the reply. My program is not started by PPT, nor does it start PPT. The application is in a lobby kiosk. A PPT slide show runs in an infinite loop. Twice a day, my app is supposed to appear on top of the running PPT slide show and announce an event and show a countdown timer. When