home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / mswindo / programm / misc / 4285 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  818 b 

  1. Path: sparky!uunet!caen!kuhub.cc.ukans.edu!2ftptimely
  2. From: 2ftptimely@kuhub.cc.ukans.edu
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Problems with Clipping Regions
  5. Message-ID: <1992Dec16.152731.45692@kuhub.cc.ukans.edu>
  6. Date: 16 Dec 92 15:27:31 CST
  7. Organization: University of Kansas Academic Computing Services
  8. Lines: 17
  9.  
  10. I am having a hell of a time with
  11. the Windows API call
  12. SelectClipRgn(...)
  13.  
  14. I select a region and clipping works fine but 
  15. when I try to unselect the region wDeleteObject(ClipRgn)
  16. Then everything else that I paint to
  17. that DC is still "clipped". What I want
  18. is to restore the DC to how it was before I
  19. gave it a new clipping region. This is the
  20. DC given to me in the PAINT routine of 
  21. Borland OWL in the TWindow class. Any
  22. thoughts?
  23.  
  24. Thanks,
  25. George Frazier frazier@hawk.cs.ukans.edu
  26.  
  27.