Video Window not repainting only in one instance



Hi...i´ve got a strange behaviour on my video window.

I have an MFC SDI project, when the user selects an option on the menu
a Dialog containning the window in which i want to show the video pops
up. The thing is, the first time i open the dialog i have the problem
about repainting the video window (i have tried an empty WM_ERASEBKGND,
but no success), but if i open another instance of the dialog or if i
close this one and select again the option on the menu to open the
Video Dialog, then the problem is gone, it repaints correctly. Every
new Video Dialog i open repaints correctly, the question is...why is
the first instance of the dialog not repainting correctly?

I´ve just copied the same code from a project i made in Visual C++
6.0, now i´m working in Visual C++ 2005.

I´m i missing something...

Any help will be welcomed.

Sorry if this is some kind of off-topic (i think it´s not but...)

.



Relevant Pages

  • Re: Two Webcam in a graph
    ... i'm putting two webcam in a graph for make stereoscopic image. ... > I have a problem, with the video window, I put video window to false but one ... if the filter graph has more than one Video ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: video feeds
    ... > There is software called Matrox PC-VCR (comes with the card and can be ... > behind powerpoint any video signal will then pass through a window or ... > bit is if you need a video window. ...
    (microsoft.public.powerpoint)
  • Re: Digital TV card support
    ... On my slower machine WV will play only the first few seconds ... This usually happens, when the video window is sized so, that it does not have the same ... On my desktop under MCP using an ATI Raedon 8500 with snap driver, WV works fine using warp overlay; on my T22 under ECS1.2 using the built in S3 Savage chipset and snap driver only DIVE will work and playback is jerky with poor sound synchronization and the other defects you described. ...
    (comp.os.os2.multimedia)
  • directshow capture and preview
    ... I am trying to create an application that captures video and previews ... // start preview & capture function ... // Obtain interfaces for media control, Video Window & event ... // Create an enumerator for the video capture devices ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Digital TV card support
    ... the WMV-HD videos and DIVE output just fine, ... On my slower machine WV will play only the first few seconds ... video window will be ...
    (comp.os.os2.multimedia)