🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mail.xview
Article #1

Scrolling & Resizing

#1
From: Andy Deitsch
Date: Tue, 25 Sep 1990 20:31
21 lines
1307 bytes
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
 
Technical Details
Message-ID: <12150@crdgw1.crd.ge.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!crdgw1!phecda!deitsch

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!crdgw1!phecda!deitsch
From: deitsch@phecda.crd.ge.com (Andy Deitsch)
Newsgroups: mail.xview,comp.windows.x,mail.openlook
Subject: Scrolling & Resizing
Message-ID: <12150@crdgw1.crd.ge.com>
Date: 25 Sep 90 20:31:13 GMT
Sender: news@crdgw1.crd.ge.com
Reply-To: deitsch@phecda.crd.ge.com (Andy Deitsch)
Followup-To: mail.xview
Organization: GE Corporate Research & Development, Schenectady, NY 12345
Lines: 21