I am using XP, VC++.NET 2003, and VideoLAN (activex) for streaming video.
VideoLAN uses DD2 for most of the drawing, and seems to cause issues with a transparent dialog box sitting over it. It will flicker as VideoLAN (DD2) invalidates the region sitting on-top (the transparent dialog). Is this a problem becuase they use DD2 and not D3D9 Would converting their code to D3D9 stop the flickering
I basically want to have an overlay plane that can alpha-blend fade-in and fade-out on-top of VideoLAN. All works perfect, except for this flickering. If I tell VideoLAN to clip itself, it operates as an overlay, no flickering, but no alpha blending transparent effect.
I just want to have a hope of the port to D3D9 helping before I sink the time into doing it.
Any suggestions are very welcomed!
Bob Scheffler

DirectDraw and Transparent Dialog boxes, flickering
Fred.Thorel
DobSun
David,
It does seem to be a VideoLAN issue, but does this make sense that the flicker could be caused by using DD2 blitting instead of the more modern DX9 'present' function
If I use dialog box transparent effects on the desktop, and drag a 50% transparent explorer box over the video lan player, it flickers using DirectX, but not when Video LAN is forced to use GDI. If I drag the same dialog box over any DX9 demo/sample program, it doesnt flicker. This also brings me to the conclusion that it is the DD2 causing the issue.
Can anyone offer advice if the DD2 would cause this flicker It is a DD2 surface and they use blit to write to the surface. It will take me some time to update the code to use DX9 since I am new to DX.
Thanks, Bob Scheffler
Bets
David,
I posted to both places, but at first I though it could be something I was doing wrong. You are the first to respond on either group. I also submitted a feature request to VideoLAN to port to DX9. I'll kick it up a notch and see if the guy (singular) that wrote the DD2 output driver has any idea if the DX9 would help. Maybe I'll be the one to write it...
Thanks for the ideas, Bob Scheffler
sean_kirkpatrick
I have a simular problem with a C# app that has an image background and image button covers. The app opens the windows media encoder and when the encoder is behind the Application the part of the app over the video preview flickers.
Is this a problem then with the windows media encoder or the way .NET draws graffics
I am using VS.NET 2003
mverma