turning clipper off

Started by
5 comments, last by AlexM 22 years, 3 months ago
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?
Advertisement
anyone?
anyone anyone?
Why would you want to turn the clipper off?
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)...
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
use SetClipper(NULL);

This topic is closed to new replies.

Advertisement