• Advertisement

Archived

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

turning clipper off

This topic is 5856 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

i have a library that creates the primary surface with a clipper that uses a HWND to generate the clip list. Is there any way to turn it off? I can''t detach the clipper, setting the HWND to NULL doesn''t work, nor does calling SetClipList(NULL,0). WHat the hell? Are ddraw creators really satan worshipers?

Share this post


Link to post
Share on other sites
Advertisement
um, to draw to the primary surface without a window...
let''s just say in a certain program i want to be able to draw both to a window (clipped) and at another time on top of everything (unclipped)...

Share this post


Link to post
Share on other sites
I've never attempted to do what you are doing but...

Did you try attaching the clipper to the desktop window? You can get a handle to the desktop window with GetDesktopWindow().

If you try it and it works, please let me know, as I may need to do something similar in the future.


Edited by - poozer on February 8, 2002 4:18:46 PM

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
use SetClipper(NULL);

Share this post


Link to post
Share on other sites

  • Advertisement