• Advertisement


This topic is now archived and is closed to further replies.

DirectDraw Clipping

This topic is 5773 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all: I''ve been spending the majority of my evening messing with DirectDraw clipping, tryin to get it to work. I''ve searched through the forums and articles, and I''ve found some good info, but I still can''t see what I''m doing wrong. The app is using MFC and directdraw7 in Windowed Mode. I''ll show you my code so far(this is being called from the CView object):
		return FALSE;

		return FALSE;

		return FALSE;
here''s what happens: In it''s current state, it draws nothing; blank white window. If I comment out the call to SetClipper, then the bitmap will draw, but if I resize the window too small, DirectDraw draws outside of the window. Any thoughts? Thanks in advance.

Share this post

Link to post
Share on other sites

  • Advertisement