Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: hsc@vuse.vanderbilt.edu (Hsuan Chang) Newsgroups: comp.sys.sun Subject: Re: need help with pw_copy Keywords: Windows Message-ID: <8903100556.AA01280@ip3> Date: 23 Mar 89 10:03:00 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 15 Approved: Sun-Spots@rice.edu Original-Date: Thu, 9 Mar 89 23:56:37 CST X-Sun-Spots-Digest: Volume 7, Issue 207, message 9 of 15 >I have been trying to get the pixwin function pw_copy to work for some >time now. I can't seem to get it to work. Are there any known bugs with >it ? I have included a sample program which shows what I am trying to do. >I want the pixwin from main_frame copied into the pixwin in main_frame2. >On all the machines I have tried, the main_frame2 pixwin remains blank As I recall, the pw_copy works only when the two pixwin are created from the same base frame. You might find a work around by using the pw_rop() function and use target_pw->pw_prretained pixrect as the target pixrect. Hope this helps. Hsuan Chang hsc@vuse.vanderbilt.edu Image Processing Lab, Computer Science Department Vanderbilt University, Nashville, Tn 37235