Article View: comp.os.ms-windows.programmer.misc
Article #1962Problems with Clipping Regions
From: 2ftptimely
Date: Wed, 16 Dec 1992 21:27
Date: Wed, 16 Dec 1992 21:27
16 lines
842 bytes
842 bytes
I am having a hell of a time with the Windows API call SelectClipRgn(...) I select a region and clipping works fine but when I try to unselect the region wDeleteObject(ClipRgn) Then everything else that I paint to that DC is still "clipped". What I want is to restore the DC to how it was before I gave it a new clipping region. This is the DC given to me in the PAINT routine of Borland OWL in the TWindow class. Any thoughts? Thanks, George Frazier frazier@hawk.cs.ukans.edu
Technical Details
Message-ID:
<1992Dec16.152731.45692@kuhub.cc.ukans.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!caen!kuhub.cc.ukans.edu!2ftptimelyShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!kuhub.cc.ukans.edu!2ftptimely From: 2ftptimely@kuhub.cc.ukans.edu Newsgroups: comp.os.ms-windows.programmer.misc Subject: Problems with Clipping Regions Message-ID: <1992Dec16.152731.45692@kuhub.cc.ukans.edu> Date: 16 Dec 92 15:27:31 CST Organization: University of Kansas Academic Computing Services Lines: 17