   Tearing in windowed mode
  Is there any way to prevent tearing when using Direct3D 8 in a MFC app?  The tearing is so obvious that it looks terrible and I need it to go away. 
  The tearing will be due to VSync being OFF in Windowed Mode.  Try to see if you can force it on when creating your D3D device.  I am unsure if it will work though... you''ll have to mess around with it a bit. ;  Apparently I just needed to set the swap effect to D3DSWAPEFFECT_COPY_VSYNC instead of D3DSWAPEFFECT_DISCARD.  It works fine now. 