From my observation, it seems to be more of timing thing so it is possible
that PowerPoint has something pending and needs to do something. The slide
itself has no animations, timing events or etc; it's one plain static slide
with a box to launch the DirectX application. So is it possible that
PowerPoint still has some loading internally that is forcing itself to regain
focus? Is that allowed within Windows programming? Application setting itself
to be focused even though user is trying to change focus?
Yep, Windows provides API calls to let an application set itself to the top of
the windows "stack" and there are times when it can make good sense for a program
to use them.
Something tells me that's not the case here, but to be honest, I've never been
able to provoke the same behavior here. That's not to doubt that it's happening
to you -- the same sort of thing's been reported any number of times, far too
many times for me to doubt that it happens.
But why, and under what exact circumstances, there's the tricky bit.
One thought, though ... is the system set to singleclick to open rather than to
select? Ie, open a Windows Explorer window, choose Tools, Options; go to the
General tab and check the settings for "Click items as follows"