How to detect when user switch from PowerPoint to other program?

W

Winston

Hi,
Anyone know how to detect when user switch from PowerPoint to other program?
What event can capture this?
Winston
 
C

Chirag

Application object publishes this WindowDeactivate event that gets sent when
any application or document window gets deactivated. In the event handler,
you can check if the foreground window's (GetForegroundWindow() API) owner
process (GetWindowThreadProcessId() API) is PowerPoint or not.

- Chirag

PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top