home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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
-
-