Path: utzoo!attcan!uunet!samsung!uakari.primate.wisc.edu!crdgw1!phecda!deitsch From: deitsch@phecda.crd.ge.com (Andy Deitsch) Newsgroups: comp.windows.x Subject: Scrolling & Resizing Message-ID: <12187@crdgw1.crd.ge.com> Date: 26 Sep 90 21:22:38 GMT Sender: news@crdgw1.crd.ge.com Reply-To: deitsch@phecda.crd.ge.com (Andy Deitsch) Organization: GE Corporate Research & Development, Schenectady, NY 12345 Lines: 21 I am new to Xview and am having a problem resizing and scrolling. I can either scroll or resize but not both. In order to control the scrolling, I have interposed on the scroll events. When the program starts, everything is fine. I can zoom in and out, and scroll. As soon as I resize however, things begin to happen. Tracing through the program I have determined that after leaving the CANVAS_RESIZE_PROC, a scroll event occurs and my scroll event handler gets called. Between the time the CANVAS_RESIZE_PROC exits and the scroll event handler executes its first line, the SCROLLBAR_OBJECT_LENGTH and SCROLLBAR_VIEW_LENGTH get modified! This is apparently what is messing things up, however I'm not sure how to fix it. Any suggestions will be helpful. Thanx in advance... Andy Deitsch