i have been trying to use simple_player sample app on video playback on a mpeg2 video file on various windows OS.
In particular to Win7 OS, when the simple_player is executed, i can see the player is rendering the video and the icons from the desktop, be hiding behind the video. This created the scenario whereby the video render at foreground, icons at background.
However when i move my mouse cursor over to the rendered area, i can see that the icons which was hiding behind the rendered area previously, suddenly become foreground.
i have read some articles in the forum mentioning simple_player has some rendering issue in Vista/Win7, in particular to the articles below :
and i have implemented the sample fix recommended to turn off Aero feature.
i m using the above article's sample taipei mp4 video and i have captured some screen shot to better illustrate what i mean by icon patches at foreground when mouseover. Pls refer to attach pics.
my question is, how do i make the video render area become permanently rendering at the foreground during video playback in Win7? And that include moving my mouse cursor over will not bring the desktop icons to the foreground and creating annoying patches.
btw, i m using IPP samplesv6.1.6.056.
I think this can be solved by rendering to a window frame. A window object will handle the view area update events by the use of OnPaint() for example.
DX Rendering to a window area rather than the current (absolute) rendering to display buffer can be done by utilizing ColorKey.