Why is WS_CLIPCHILDREN necessary to display a DirectShow window on XP (but not on Vista or Windows 7)?

I wrote a program for playing MPEG video in a window (of course, DirectShow will open its own window as a sub window of this window). In Windows Vista and 7, the program works fine. But in XP, the video is displayed only when I set the style WS_CLIPCHILDRENin an external window (i.e. Not in DirectShow). Is this a bug in XP or a model change in Vista?

+3
source share
1 answer

Actually, that sounds like an error in your code ...

WS_CLIPCHILDREN . , , . , , WS_CLIPCHILDREN , ...

, XP, Vista Win7, ... , XP , , " overlays": , , , , . ( , ), , !

  • WS_CLIPCHILDREN . .

  • , , , .

+6

Source: https://habr.com/ru/post/1735861/


All Articles