Directshow and painting
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I have a movie clip playing with directshow in a picture control (created with the resource editor) inside a dialog. Although it plays well and functions fine, there is one problem I can't seem to get around. When the video clip is paused and I minimize the program, everything gets repainted except for the picture control showing the paused scene (this happens 9/10 times; the other 10% it gets repainted). Is there a workaround for this or should I scrap the picture control and create my own child window with WS_CLIPCHILDREN to correct this, amd will this even correct the problem? I mention WS_CLIPCHILDREN because the sample PlayWnd that comes w/ DirectX states the they window needs WS_CLIPCHILDREN style.